Bug#1103242: /bin/ip: "ip mon" does not exit when output is gone
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
Reply to: