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


Groups > linux.debian.bugs.dist > #1242138

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

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 2025-04-15 13:30 +0200
Message-ID <KBMEh-dGUj-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | 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.bugs.dist | 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
  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

csiph-web