[Bug 1579922] [NEW] dh_systemd_enable fails due to 'preset' when service file is renamed

Serge Hallyn 1579922 at bugs.launchpad.net
Mon May 9 21:24:07 UTC 2016


Public bug reported:

This is a bit of a special case and may be being done wrong by the
package...  libvirt is moving the libvirt-bin.service from libvirt-bin
package to libvirtd.service in libvirt-daemon-system package.  The
packaging source can be seen at https://git.launchpad.net/~libvirt-
maintainers/ubuntu/+source/libvirt/tree/?h=2016-05-07/yakkety, and it is
packaged at ppa:serge-hallyn/virt.

When using the init-system-helpers package from xenial, this all works.
However with the init-system-helpers package in yakkety, and when
upgrading the current libvirt-bin package to this proposed package, it
fails during deb-systemd-helper with a message from:

            system("/bin/systemctl", "--preset-mode=enable-only",
                "preset", $scriptname) == 0 or
                error("systemctl preset failed on $scriptname: $!");

** Affects: init-system-helpers (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  dh_systemd_enable fails due to 'preset' when service file is renamed

Status in init-system-helpers package in Ubuntu:
  New

Bug description:
  This is a bit of a special case and may be being done wrong by the
  package...  libvirt is moving the libvirt-bin.service from libvirt-bin
  package to libvirtd.service in libvirt-daemon-system package.  The
  packaging source can be seen at https://git.launchpad.net/~libvirt-
  maintainers/ubuntu/+source/libvirt/tree/?h=2016-05-07/yakkety, and it
  is packaged at ppa:serge-hallyn/virt.

  When using the init-system-helpers package from xenial, this all
  works. However with the init-system-helpers package in yakkety, and
  when upgrading the current libvirt-bin package to this proposed
  package, it fails during deb-systemd-helper with a message from:

              system("/bin/systemctl", "--preset-mode=enable-only",
                  "preset", $scriptname) == 0 or
                  error("systemctl preset failed on $scriptname: $!");

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1579922/+subscriptions



More information about the foundations-bugs mailing list