service command does not start legacy SysV scripts if systemd is enabled
Bug #1595759 reported by
Sarah Newman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
init-system-helpers (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Version: 1.29ubuntu1 on Xenial 16.04
We have a legacy sysv init script. The command 'service' doesn't operate on it without the following patch applied:
$ diff -uNr /usr/sbin/service /usr/local/
--- /usr/sbin/service 2016-02-29 12:24:38.000000000 +0000
+++ /usr/local/
@@ -179,6 +179,11 @@
fi
}
+if [ -f "$SERVICEDIR/
+ update_
+ run_via_sysvinit
+fi
+
# When this machine is running systemd, standard service calls are turned into
# systemctl calls.
if [ -n "$is_systemd" ]
To post a comment you must log in.