This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 83740 - Shutdown doesn't work as expected
Shutdown doesn't work as expected
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: sysvinit (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2005-12-20 15:03:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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
Netscape/7.0

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:
Always

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

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
response.
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.