Bug 83740 - Shutdown doesn't work as expected
Shutdown doesn't work as expected
Product: Fedora
Classification: Fedora
Component: sysvinit (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-02-07 14:16 EST by Wayne Pollock
Modified: 2014-03-16 22:34 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-12-20 15:03:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Wayne Pollock 2003-02-07 14:16:22 EST
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):

How reproducible:

Steps to Reproduce:
1./sbin/shutdown -t 60 -r +10 "Test reboot"
2.ftp localhost

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.

Additional info:
Comment 1 Bill Nottingham 2005-04-19 14:22:23 EDT
Closing bugs on older, no longer supported, releases. Apologies for any lack of
Comment 2 Wayne Pollock 2005-04-19 17:16:16 EDT
Please re-open for current release.  I have updared the release number to 9.
Comment 3 Bill Nottingham 2005-12-20 15:03:44 EST
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/.
Comment 4 David Lawrence 2007-06-21 22:18:11 EDT
Package name is now sysvinit in latest Fedora.

Note You need to log in before you can comment on or make changes to this bug.