Systemd sysv install fails with update-rc.d: error: unable to read /etc/init.d/enable
Bug #1752882 reported by
Chris Glass
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Critical
|
Dimitri John Ledkov |
Bug Description
The bionic builds of cloud images for one of our partners fails when installing/enabling NTP in the image during livecdrootfs build:
+ chroot mountpoint_gce systemctl --root / enable ntp.service
Synchronizing state of ntp.service with SysV service script with /lib/systemd/
Executing: /lib/systemd/
update-rc.d: error: unable to read /etc/init.d/enable
On Xnox's request I am filing a bug here and assigning to him.
Please let me know if you need further information.
Changed in systemd (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
importance: | Undecided → Critical |
status: | New → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package systemd - 237-3ubuntu4
---------------
systemd (237-3ubuntu4) bionic; urgency=medium
* systemd- sysv-install: fix name initialisation.
Only initialise NAME, after --root optional argument has been parsed, otherwise
NAME is initialized to e.g. `enable', instead of to the `unit-name`, resulting
in failures. (LP: #1752882)
-- Dimitri John Ledkov <email address hidden> Mon, 05 Mar 2018 09:57:58 +0100