Red Hat Bugzilla – Bug 840492
"shutdown -n now" with wrong option makes host/guest into single user mode
Last modified: 2015-10-13 08:55:04 EDT
Description of problem:
'shutdown -a/-f/-g/-n/-q/-v now' with these options all make guest into
single user mode, but "man shutdown" has no these options.
Version-Release number of selected component (if applicable):
#rpm -qf `which shutdown`
Steps to Reproduce:
1. # shutdown -n now
The system is going down for maintenance NOW!
2. # runlevel
3. man shutdown
host/huest goes into single mode
should prompt info: shutdown: invalid option -- 'n'
Created attachment 598599 [details]
Thanks for the report, there should be probably some check for args. I will discuss this with upstream.
This behavior is actually the same as in sysvinit. Maybe it would be better just to mention it in manpage. Again I will discuss this with upstream.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
This behavior is because of backward compatibility.