Package: sysv-rc Version: 2.88dsf-53 Tags: patch In #637390, a call to insserv was made absolute to accomodate environments where /sbin was not in the PATH.
We should either change all of them or none of them really? Patch attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org `-
diff --git a/debian/src/sysv-rc/sbin/update-rc.d b/debian/src/sysv-rc/sbin/update-rc.d index e641e76..a5c5d64 100755 --- a/debian/src/sysv-rc/sbin/update-rc.d +++ b/debian/src/sysv-rc/sbin/update-rc.d @@ -183,7 +183,7 @@ sub insserv_updatercd { } else { # insserv removes all dangling symlinks, no need to tell it # what to look for. - my $rc = system("insserv", @opts) >> 8; + my $rc = system("/sbin/insserv", @opts) >> 8; if (0 == $rc && !$notreally) { remove_last_action($scriptname); } @@ -200,7 +200,7 @@ sub insserv_updatercd { } if ( -f "/etc/init.d/$scriptname" ) { - my $rc = system("insserv", @opts, $scriptname) >> 8; + my $rc = system("/sbin/insserv", @opts, $scriptname) >> 8; if (0 == $rc && !$notreally) { save_last_action($scriptname, @orig_argv); } @@ -216,7 +216,7 @@ sub insserv_updatercd { insserv_toggle($notreally, $action, $scriptname, @args); # Call insserv to resequence modified links - my $rc = system("insserv", @opts, $scriptname) >> 8; + my $rc = system("/sbin/insserv", @opts, $scriptname) >> 8; if (0 == $rc && !$notreally) { save_last_action($scriptname, @orig_argv); }