Bug 207844
Summary: | The command `w` only outputs a header | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | rob <robo> | ||||
Component: | procps | Assignee: | Karel Zak <kzak> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | bitmage | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-04-03 13:25:11 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
rob
2006-09-24 15:40:01 UTC
Could it be my setup? I now see that `users` reports empty as well... [root@grumpy ~]# users [root@grumpy ~]# [root@grumpy ~]# rpm -q --whatprovides /usr/bin/users coreutils-5.97-9 [root@grumpy ~]# I can't reproduce this your problem. It seem there is something other wrong in your system. Do you have mounted the /proc filesystem? You can also try strace the 'w' process. Created attachment 137273 [details]
`strace w` output
Thank you for your reply. Yes, /proc is mounted. [root@grumpy ~]# mount /dev/mapper/RootOS-Root on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/md0 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) /dev/mapper/RootOS-Home on /home type ext3 (rw) /dev/mapper/RootOS-Opt on /opt type ext3 (rw) /dev/mapper/RootOS-Tmp on /tmp type ext3 (rw) /dev/mapper/RootOS-Usr on /usr type ext3 (rw) /dev/mapper/RootOS-Var on /var type ext3 (rw) /dev/mapper/RootOS-export on /export type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) nfsd on /proc/fs/nfsd type nfsd (rw) [root@grumpy ~]# Thank you for your reply. Yes, /proc is mounted. [root@grumpy ~]# mount /dev/mapper/RootOS-Root on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/md0 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) /dev/mapper/RootOS-Home on /home type ext3 (rw) /dev/mapper/RootOS-Opt on /opt type ext3 (rw) /dev/mapper/RootOS-Tmp on /tmp type ext3 (rw) /dev/mapper/RootOS-Usr on /usr type ext3 (rw) /dev/mapper/RootOS-Var on /var type ext3 (rw) /dev/mapper/RootOS-export on /export type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) nfsd on /proc/fs/nfsd type nfsd (rw) [root@grumpy ~]# It seems like a problem with /var/run/utmp - I think you have problem with more commands (w, users, last, ...) Having the same problem here on a clean install of FC6 release. 'w' shows nothing but the header. 'users' gives no response. 'last' seems to be working. Do you have same problem on updated FC6? Working fine for me at this point. Thanks for your feedback. |