Your message dated Sun, 14 Apr 2013 14:11:59 +0100 with message-id <[email protected]> and subject line Closing invalid bug has caused the Debian Bug report #577146, regarding Logic of halt script, with regard to ups-monitor, is wrong to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 577146: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577146 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: sysvinit Version: 2.87dsf-10 Severity: important Tags: patch Suppose a user set HALT=poweroff in /etc/default/halt, and also set /etc/init.d/ups-monitor because he has a ups. With the current halt script, won't the end result be that the ups will always be requested to cut the power? --- halt 2010-04-10 05:24:57.000000000 +0200 +++ halt.mod 2010-04-10 05:25:37.000000000 +0200 @@ -17,6 +17,12 @@ . /lib/lsb/init-functions do_stop () { + # See if we need to cut the power. + if [ "$INIT_HALT" = "POWEROFF" ] && [ -x /etc/init.d/ups-monitor ] + then + /etc/init.d/ups-monitor poweroff + fi + if [ "$INIT_HALT" = "" ] then case "$HALT" in @@ -32,12 +38,6 @@ esac fi - # See if we need to cut the power. - if [ "$INIT_HALT" = "POWEROFF" ] && [ -x /etc/init.d/ups-monitor ] - then - /etc/init.d/ups-monitor poweroff - fi - # Don't shut down drives if we're using RAID. hddown="-h" if grep -qs '^md.*active' /proc/mdstat _________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969
--- End Message ---
--- Begin Message ---As per the comments in the bug, the premise behind this request is flawed. If there's some sensible concrete action you want doing in sysvinit, please reopen with a detailed proposal. At present, there's not much we can do here. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
--- End Message ---
_______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

