Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86902

Bug#1103242: /bin/ip: "ip mon" does not exit when output is gone

Path csiph.com!pasdenom.info!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Luca Boccassi <luca.boccassi@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1103242: /bin/ip: "ip mon" does not exit when output is gone
Date Tue, 15 Apr 2025 16:40:01 +0200
Message-ID <KBPC9-dIMA-3@gated-at.bofh.it> (permalink)
References <KBMEh-dGUj-1@gated-at.bofh.it> <KBMEh-dGUj-1@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Apr 15 14:39:08 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.096
Reply-To Luca Boccassi <luca.boccassi@gmail.com>, 1103242@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1103242
X-Debian-Pr-Package iproute2
X-Debian-Pr-Keywords upstream
X-Debian-Pr-Source iproute2
X-Forwarded-Encrypted i=1; AJvYcCVI9w2WwNwcub9t1DA3GEwdSTK00U0c3PXZO2Tfkm3AVTEwklQ4rC12i9FNqNsTdHPwha28S5FP@bugs.debian.org
X-Gm-Message-State AOJu0YzwiLbr84dA1H+eGUUxXwiFwcHI4Vc2wdTUTIXvQ/k+36Xj8Hue bIdf9x14pwwLehuavNUqSLtZ76Jq2n77xTD3XUyyNT1LaZ44CF0utOR6WuJ00XQnC/2sQcXu4OL 0jNSP1NVAuyKwN/r6Zo3TSXpXgTg=
X-Gm-Gg ASbGncuZohxolyOS45DRlZjIfL/+OG5ZmsnD/k8Bf+LRe/i05MvlNACVMVejA0uQ8kp 4JtmTxshKGDxq6pB7LUokHXLUMUU6AH9R//aKi8yKWdlGFdBsYH0lSp6+OeqrIszr5g0YxTgzPx uXA8yrtxX9yS+vQTj/8p4Q2npWp8qBB3F0CstYOMCNW83gREPTbY6fVFzI
X-Google-SMTP-Source AGHT+IEv4I5QjRrxlKOLMWjrP92/EULTgLdwseK2BKT5ezxYP61Sh8BR0gqmvH+RiMnRMdA6HVR349n/x81YfpgPGF8=
X-Received by 2002:a05:6902:d43:b0:e6e:ab4:f25f with SMTP id 3f1490d57ef6-e704df7ab32mr25367846276.18.1744727732145; Tue, 15 Apr 2025 07:35:32 -0700 (PDT)
MIME-Version 1.0
X-Gm-Features ATxdqUFT7P4istoCsBc8vqE1yL5CAvgFk2nJXyw15m-hZcGKWCyjlE1QTW84aKI
Content-Type text/plain; charset="UTF-8"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1899543
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 24
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Bug Tracking System <submit@bugs.debian.org>
X-Original-Date Tue, 15 Apr 2025 15:35:21 +0100
X-Original-Message-ID <CAMw=ZnTZeodMmFFtc9ft39qMn2ffzM7jyWs_bqnp15_qmijYQg@mail.gmail.com>
X-Original-References <174471593618.5319.11061380619817212706.reportbug@localhost> <174471593618.5319.11061380619817212706.reportbug@localhost>
Xref csiph.com linux.debian.bugs.dist:1242161 linux.debian.kernel:86902

Cross-posted to 2 groups.

Show key headers only | View raw


Control: tags -1 moreinfo

On Tue, 15 Apr 2025 at 12:21, Simon Richter <sjr@debian.org> wrote:
>
> Package: iproute2
> Version: 6.1.0-3
> Severity: minor
> File: /bin/ip
> Tags: upstream
> X-Debbugs-Cc: sjr@debian.org
>
> Hi,
>
> I started "ip mon" in the background, and closed the shell and the terminal.
>
> The "ip" command is still running, receiving netlink messages and writing to
> stdout, receiving EIO for this attempt.
>
> Monitor mode should probably exit when it cannot write output.

Hi,

Isn't this normal behaviour? IE, if I do 'sleep infinity &' and close
the terminal, it will likewise hang around

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1103242: /bin/ip: "ip mon" does not exit when output is gone Simon Richter <sjr@debian.org> - 2025-04-15 13:30 +0200
  Processed: Re: Bug#1103242: /bin/ip: "ip mon" does not exit when  output is gone "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-04-15 16:40 +0200
  Bug#1103242: /bin/ip: "ip mon" does not exit when output is gone Luca Boccassi <luca.boccassi@gmail.com> - 2025-04-15 16:40 +0200
    Bug#1103242: /bin/ip: "ip mon" does not exit when output is gone Simon Richter <sjr@debian.org> - 2025-04-16 01:10 +0200
      Bug#1103242: /bin/ip: "ip mon" does not exit when output is gone Luca Boccassi <bluca@debian.org> - 2025-04-16 12:40 +0200
  Processed: Re: Bug#1103242: /bin/ip: "ip mon" does not exit when  output is gone "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-04-15 16:40 +0200

csiph-web