Your message dated Sun, 31 Jan 2010 15:39:15 +1100
with message-id <[email protected]>
and subject line Fixed in 3.2.6
has caused the Debian Bug report #187808,
regarding procps: w reports pipelines incorrectly
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
187808: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=187808
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 1:3.1.8-1
Severity: normal
When the first command in a pipeline dies, w treats it as if the whole
job is dead:
Run 'yes | less' in one terminal and do this in the other one:
$ w
14:03:56 up 7 days, 19:55, 10 users, load average: 0.00, 0.02, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
herbert pts/1 mordor:S.0 29Mar03 1:41 2.24s 0.07s /bin/bash
/usr/bin/bug -x procps
herbert pts/2 mordor:S.1 29Mar03 21.00s 1.36s 0.01s yes
herbert pts/3 mordor:S.2 29Mar03 0.00s 1.77s 0.02s w
herbert pts/4 mordor:S.3 29Mar03 3:38m 0.36s 0.36s /bin/bash
herbert pts/5 mordor:S.4 29Mar03 7:36 0.28s 0.20s /bin/bash
herbert pts/6 mordor:S.5 29Mar03 3:41m 0.18s 0.18s /bin/bash
herbert pts/7 mordor:S.6 29Mar03 21:11m 0.05s 0.05s /bin/bash
herbert pts/8 mordor:S.7 29Mar03 21:11m 0.10s 0.10s /bin/bash
herbert pts/9 mordor:S.8 29Mar03 2days 0.55s 0.55s /bin/bash
herbert pts/10 mordor:S.9 29Mar03 2days 0.16s 0.16s /bin/bash
$ killall yes
$ w
14:04:09 up 7 days, 19:55, 10 users, load average: 0.00, 0.01, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
herbert pts/1 mordor:S.0 29Mar03 1:54 2.25s 0.07s /bin/bash
/usr/bin/bug -x procps
herbert pts/2 mordor:S.1 29Mar03 34.00s 1.35s 1.34s /bin/bash
herbert pts/3 mordor:S.2 29Mar03 0.00s 1.78s 0.02s w
herbert pts/4 mordor:S.3 29Mar03 3:38m 0.36s 0.36s /bin/bash
herbert pts/5 mordor:S.4 29Mar03 7:49 0.28s 0.20s /bin/bash
herbert pts/6 mordor:S.5 29Mar03 3:41m 0.18s 0.18s /bin/bash
herbert pts/7 mordor:S.6 29Mar03 21:11m 0.05s 0.05s /bin/bash
herbert pts/8 mordor:S.7 29Mar03 21:11m 0.10s 0.10s /bin/bash
herbert pts/9 mordor:S.8 29Mar03 2days 0.55s 0.55s /bin/bash
herbert pts/10 mordor:S.9 29Mar03 2days 0.16s 0.16s /bin/bash
Of course less is still running in the foreground of pts/2.
This problem does not occur in woody.
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.20-1-686-smp #1 SMP Sat Mar 22 13:56:18 EST
2003 i686 unknown unknown GNU/Linux
Versions of the packages procps depends on:
ii libc6 2.3.1-16 GNU C Library: Shared libraries and Timezone
ii libncurses5 5.3.20021109-2 Shared libraries for terminal handling
--- End Message ---
--- Begin Message ---
Package: procps
Version: 1:3.2.6-1
I no longer see this bug, I'm pretty sure back in 3.2.6 this was fixed.
- Craig
--
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/ csmall at : enc.com.au
http://www.debian.org/ Debian GNU/Linux, software should be Free
--- End Message ---