Bug 224298 - shutdown does not work properly
shutdown does not work properly
Product: Fedora
Classification: Fedora
Component: nut (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Smetana
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2007-01-25 00:12 EST by Brian Chadwick
Modified: 2008-01-30 06:18 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-30 06:18:11 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 Brian Chadwick 2007-01-25 00:12:30 EST
Description of problem: my assumption is that when /sbin/shutdown is called from
upsmon, that the shutdown should proceed as if "/sbin/shutdown -h +0" was called
directly from the command line, with that the exception that upsdrvctl is used
to advise the UPS to shutdown. it doesnt. the pc shuts down MOST services, and
then goes to a blank screen with no proper power off of the PC or the UPS, and
file systems are left unclean. it appears as if /etc/rc.d/rc0.d/S01halt does not
complete properly, if called at all. I have tried to trace this without joy.
This happens whether I use the upsdrvctl program, or the fentoups driver called
directly. I have put some traces in 
/etc/rc.d/rc0.d/S01halt .. the traces never get reached, so I am sure that the
UPS section of S01halt is not being executed.

Version-Release number of selected component (if applicable):

How reproducible:
every time

Steps to Reproduce:
Actual results:

unclean shutdown
Expected results:

clean shutdown with powerdown of PC and ups
Additional info:
Comment 1 Tomas Smetana 2008-01-15 04:34:41 EST
This should be fixed in the recent versions -- the initscripts should have been
updated some time ago.  I'll try to verify that somehow.
Comment 2 Tomas Smetana 2008-01-30 06:18:11 EST
It should be fixed now.  Feel free to reopen if you find any problems.

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