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


Groups > linux.debian.kernel > #86898

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

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Simon Richter <sjr@debian.org>
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 13:30:01 +0200
Message-ID <KBMEh-dGUj-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Apr 15 11:21:08 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Simon Richter <sjr@debian.org>, 1103242@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc sjr@debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message report 1103242
X-Debian-Pr-Package iproute2
X-Debian-Pr-Keywords upstream
X-Debian-Pr-Source iproute2
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 12.0.0
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1899518
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 15 Apr 2025 20:18:56 +0900
X-Original-Message-ID <174471593618.5319.11061380619817212706.reportbug@localhost>
Xref csiph.com linux.debian.bugs.dist:1242138 linux.debian.kernel:86898

Cross-posted to 2 groups.

Show key headers only | View raw


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.

   Simon

-- System Information:
Debian Release: 12.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 6.1.0-31-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages iproute2 depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  libbpf1                1:1.1.0-1
ii  libbsd0                0.11.7-2
ii  libc6                  2.36-9+deb12u9
ii  libcap2                1:2.66-4
ii  libcap2-bin            1:2.66-4
ii  libdb5.3               5.3.28+dfsg2-1
ii  libelf1                0.188-2.1
ii  libmnl0                1.0.4-3
ii  libselinux1            3.4-1+b6
ii  libtirpc3              1.3.3+ds-1
ii  libxtables12           1.8.9-2

Versions of packages iproute2 recommends:
ii  libatm1  1:2.5.1-4+b2

Versions of packages iproute2 suggests:
pn  iproute2-doc  <none>
ii  python3       3.11.2-1+b1

-- debconf information excluded

Back to linux.debian.kernel | Previous | Next — 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