Package: sysvinit
Version: 2.87dsf-8
Severity: normal
Tags: patch

--- Please enter the report below this line. ---
/usr/sbin/invoke-rc.d always calls /usr/sbin/policy-rc.d .
If policy-rc.d returns 101, invoke-rc.d does not work and does not send
any message to the user!

invoke-rc.d should tell the user that it will not do anything due to
policy-rc.d, since no output means "done as proposed" on Linux.

And it should only be quite if called with the "--quite"-parameter.

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-px1-amd64

Debian Release: sid
  500 unstable        ftp.de.debian.org
  500 unstable        debian.zaubberer.net

--- a/debian/src/sysv-rc/sbin/invoke-rc.d
+++ b/debian/src/sysv-rc/sbin/invoke-rc.d
@@ -138,6 +138,8 @@
 	101) if test x${FORCE} != x ; then
 		printerror Overriding policy-rc.d denied execution of ${printaction}.
 		RC=104
+	     else
+		printerror policy-rc.d denied execution of ${printaction}.
 	     fi
 	     ;;
     esac

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to