Bug 83740

Summary: Shutdown doesn't work as expected
Product: [Fedora] Fedora Reporter: Wayne Pollock <pollock>
Component: sysvinitAssignee: Bill Nottingham <notting>
Status: CLOSED UPSTREAM QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-20 20:03:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Wayne Pollock 2003-02-07 19:16:22 UTC
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 18:22:23 UTC
Closing bugs on older, no longer supported, releases. Apologies for any lack of

Comment 2 Wayne Pollock 2005-04-19 21:16:16 UTC
Please re-open for current release.  I have updared the release number to 9.

Comment 3 Bill Nottingham 2005-12-20 20:03:44 UTC
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-22 02:18:11 UTC
Package name is now sysvinit in latest Fedora.