Red Hat Bugzilla – Bug 862776
/usr/bin/who returns no results - /var/run/utmp missing?
Last modified: 2012-10-19 03:33:46 EDT
Description of problem:
/usr/bin/who returns no results
Running under strace shows that it isn't finding /var/run/utmp. There is no /var/run/utmp.
"yum reinstall coreutils initscripts" and "reboot" had no effect.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
no error message. nothing
should list at least one logged in user
Fedora 18 system was created by yum upgrading from Fedora 17 live install.
/usr/bin/who works in Fedora-18-Beta-TC1-x86_64-Live-Desktop
and also in initial install from that,
but then is broken after first updates.
Apparently this is caused by the latest ststemd updates:
Starting from a Beta-TC1 Live image I had updated glibc and kernel
to lastest, rebooted, and /usr/bin/who still worked.
Then I did "yum update systemd*" which brought in:
After rebooting again, /usr/bin/who had stopped working.
Works again with systemd-194-1.fc18.x86_64 (from koji)
but I also had to switch selinux to permissive to be able to login at all.
Updated (from koji) to:
configured to "enforcing", rebooted
and /usr/bin/who still works.
Thanks for report, based on the description and comments, this was caused by some missing selinux policy and it is solved now, right? Can we close it currentrelease then?
Certainly, as far as I'm concerned. Thanks