I just installed usermode-1.37-1.6. After doing all the upgrades, I used
"shutdown -r +2" to reboot the machine. According to $PATH,
/usr/bin/shutdown was executed. The machine did not reboot, it went to
single user mode. I thought this problem was to have been corrected in
this usermode version.
I replicated this problem on another machine that had been similarly upgraded.
"/usr/bin/shutdown -r +1" still said going to maintenance mode in 1 minute and
then did go to run level 1. "/sbin/shutdown -r +1" rebooted the machine as
expected. The /usr/bin/shutdown script does not account for time arguments
other than "now" and exec'd /sbin/shutdown +1 which defaults to run level 1.
/sbin/shutdown should not be allowing a regular user to shut the system down to
runlevel 1. Do you get any messages when running "rpm -yf /sbin/shutdown"?
Which version of the SysVinit package do you have installed?
I was root not a regular user. As a regular user, I would get the message
shutdown: must be root.
rpm -yf /sbin/shutdown gave:
/usr/bin/shutdown -r +min still should not be putting me in single user mode.
/usr/bin/shutdown was removed by errata update since Red Hat 6.2 (see
#19034). It is no more present in current releases.