[Bug 1752882] Re: Systemd sysv install fails with update-rc.d: error: unable to read /etc/init.d/enable

Launchpad Bug Tracker 1752882 at bugs.launchpad.net
Wed Mar 7 11:34:08 UTC 2018


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 <xnox at ubuntu.com>  Mon, 05 Mar 2018 09:57:58
+0100

** Changed in: systemd (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1752882

Title:
  Systemd sysv install fails with update-rc.d: error: unable to read
  /etc/init.d/enable

Status in systemd package in Ubuntu:
  Fix Released

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/systemd-sysv-install.
  Executing: /lib/systemd/systemd-sysv-install --root=/ enable ntp
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1752882/+subscriptions



More information about the foundations-bugs mailing list