Red Hat Bugzilla – Bug 83740
Shutdown doesn't work as expected
Last modified: 2014-03-16 22:34:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823
Description of problem:
The /sbin/shutdown command allows shbutdowns after a delay.
During the delay period no logins are allowed. However
shutdown fails to prevent other connections such as from
ftp. (The command ftpshut does this but shutdown doesn't
invoke it.) Shutdown should prevent ftp logins too, perhaps
all incomming TCP connections should be dis-allowed.
Another problem with delayed shutdown is that the warning message
issued fails to take into account the time interval used in the
"-t seconds" option. For example:
# shutdown -t 60 -r +10
will broadcast "System comming down for REBOOT in 10 minutes",
when of couse it should be "11 minutes". Not using the "-t"
option is not a work-around since a second message at 1 minute
left is desirable.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1./sbin/shutdown -t 60 -r +10 "Test reboot"
Actual Results: Time remaining message incorrect, and can still connect with FTP
Expected Results: Correct time remaining (perhpas rounded to the nearest minute),
and new FTP connections dis-allowed.
Closing bugs on older, no longer supported, releases. Apologies for any lack of
Please re-open for current release. I have updared the release number to 9.
Realistically, this isn't something we're going to fix outside of the upstream
project - that is hosted at ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/.
Package name is now sysvinit in latest Fedora.