[Pkg-sysvinit-devel] Bug#747851: Very simple fix for an annoying bug

Marga Manterola marga at google.com
Thu Nov 26 12:34:22 UTC 2015


Hi,

I'm encountering this issue with an internal package that ships an upstart
script and a systemd script but no sysv script.  It's actually a very
simple fix:

--- debian/src/sysv-rc/sbin/invoke-rc.d 2015-05-20 07:54:32.000000000 +0200
+++ /usr/sbin/invoke-rc.d 2015-11-26 13:24:21.772967974 +0100
@@ -464,7 +464,7 @@
 ## note that $ACTION is a space-separated list of actions
 ## to be attempted in order until one suceeds.
 if test x${FORCE} != x || test ${RC} -eq 104 ; then
-    if [ -n "$is_upstart" ] || testexec "${INITDPREFIX}${INITSCRIPTID}" ;
then
+    if [ -n "$is_upstart" ] || [ -n "$is_systemd" ] || testexec
"${INITDPREFIX}${INITSCRIPTID}" ; then
  RC=102
  setechoactions ${ACTION}
  while test ! -z "${ACTION}" ; do

Any chance that we can get this applied?  I know that the expectation for
packages in the distribution is to ship the old sysv script (and I agree
that this is what should happen), but for internal packages not distributed
broadly, used in a restricted environment, it makes little sense to create
a script that will never get used.

Thanks!
-- 
Cheers,
Marga
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20151126/a73eb32e/attachment.html>


More information about the Pkg-sysvinit-devel mailing list