On Thu, 2006-04-06 at 21:18 +0100, Chris Croome wrote:
Hi
I have just installed a lot of updates on a CentOS 4 box and w appears to have stopped working -- this machine has 3 or 4 people connected via ssh, yet this is all that is outputted:
# w 20:46:32 up 301 days, 3:21, 0 users, load average: 0.02, 0.03, 0.04 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
"rpmverify procps" returns nothing so the package hasn't been messed with.
I don't want to reboot the server -- does any have any suggestions what could be done to get w working again?
We are tracking this issue as a bug.
Basically ... it seems that for w to continue to work, you have to have the latest version of opsnssh, audit and audit-libs installed. With those installed and a CentOS kernel, everything seems fine (Even older CentOS kernels and those from CentOS Plus).
Other external kernels (some fedora ... some kernel.org) seems to break w.
Here is the bug:
http://bugs.centos.org/view.php?id=1245
We won't be patching code to fix this unless it is fixed from upstream. (This is one of the reasons I don't recommend building your own kernels ... but that thread is probably better left dead :)