Bug#549376: Processes with screwy SigBlk masks

View: New views
1 Messages — Rating Filter:   Alert me  

Bug#549376: Processes with screwy SigBlk masks

by Ken Bloom-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm running Debian Unstable booting with file-rc, and there are several
system daemons that have screwy SigBlk masks, of which sshd is one. They
are listed in the attached "commands" file.

You can get the data for a similar report on your own machine by running
the following commands (as root):

grep SigBlk /proc/*/status | grep -v 0000000000000000 > commands
for x in  $(grep SigBlk /proc/*/status | grep -v 000000000000 | \
    sed -e 's@/proc/\(.*\)/status.*$@\1@g'); do
  echo -n "$x: "
  cat /proc/$x/cmdline
  echo
done >> commands

(After running this, I cleaned things up a bit in vim to better organize
the report.)

Maybe this will help debug the root of the problem, though if sshd is
inheriting a screwy SigBlk mask, it should be patched to defensively fix
the SigBlk mask.

--

/proc/726/status: SigBlk: fffffffe7ffbfeff
726: udevd --daemon

/proc/853/status: SigBlk: fffffffe7ffb9eff
853: udevd --daemon

/proc/1780/status: SigBlk: 0000000000087007
1780: /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306

/proc/1819/status: SigBlk: fffffffe7ffbdeff
1819: dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0

/proc/1951/status: SigBlk: fffffffe7ffbdeff
1951: /usr/sbin/ntpd

/proc/1952/status: SigBlk: fffffffe7ffbdeff
1952: /usr/sbin/ntpd

/proc/1982/status: SigBlk: fffffffe7ffbdeff
1982: /usr/sbin/sshd

/proc/2078/status: SigBlk: fffffffe7ffb9eff
2078: udevd --daemon

/proc/2356/status: SigBlk: 0000000010000000
2356: /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7

/proc/2454/status: SigBlk: 0000000000010000
2454: /usr/lib/gdm/gdmgreeter

/proc/2981/status: SigBlk: fffffffe7ffbdeff
2981: sshd: bloom [priv]

/proc/2983/status: SigBlk: fffffffe7ffbdeff
2983: sshd: bloom@pts/0

/proc/2984/status: SigBlk: fffffffe7ffbdeff
2984: -bash

/proc/3024/status: SigBlk: fffffffe7ffadeff
3024: ssh-agent

/proc/3165/status: SigBlk: fffffffe7ffbdeff
3165: bash

/proc/3201/status: SigBlk: fffffffe7ffadeff
3201: ssh-agent

/proc/self/status: SigBlk: fffffffe7ffadeff
self: cat /proc/self/cmdline