init-system-helpers (1.29ubuntu4) xenial; urgency=medium

  * script/invoke-rc.d: backport change from 1.36 so that logs showing a
    failure to start a service with systemd will include the necessary
    information to debug, not just instructions to run an additional
    command.  LP: #1596056.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 29 Nov 2016 11:09:41 -0800

init-system-helpers (1.29ubuntu3) xenial-proposed; urgency=medium

  * invoke-rc.d, service: Only ignore systemd unit dependencies before
    multi-user.target. "systemctl is-system-running" might still be false in
    case of running jobs  for device/mount/hotplug/dynamic actions units. But
    in those cases we already do want to respect unit dependencies, as the
    system is booted up sufficiently to avoid dependency loops. Thus weaken
    the condition to "multi-user.target is active".

    This does not change the behaviour for single-user: is-system-running has
    always been false there, so dependencies continue to be ignored.

    Fixes installation of packages like PostgreSQL under cloud-init or when
    manually installing packages right after booting.

    LP: #1576692

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 12 Sep 2016 10:57:57 +0200

init-system-helpers (1.29ubuntu2) xenial; urgency=medium

  * invoke-rc.d: Under systemd, "runlevel" only switches to 3 or 5 when
    multi-user.target/graphical.target have been reached, not before.
    Adjust the runlevel check accordingly. This is only relevant for the check
    for wrong/dangling rcN.d/ symlinks, so just pin it to "5" (the precise
    value does not matter much). Fixing this in systemd requires bigger
    architectural changes, so use this tiny (and backportable) bandaid for the
    time being. (LP: #1575572)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 06 May 2016 20:51:40 -0500

init-system-helpers (1.29ubuntu1) xenial; urgency=medium

  * Merge from Debian unstable.  Remaining changes:
    - init: Drop sysvinit-core as alternative pre-depends, and add
      upstart-sysv instead.
    - scripts/invoke-rc.d: clean eatmydata from environment unless
      INVOKE_RCD_ALLOW_EATMYDATA is set to value other than '0'. This does not
      affect systemd, thus this can be dropped after 16.04 LTS. (LP: #1257036)
    - invoke-rc.d: Fix actions to run under systemd if there is no init.d
      script but only an upstart job. Packages got fixed in 16.04 but this
      still affects upgrades. This can be dropped after 16.04 LTS.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 04 Mar 2016 09:28:36 +0100

init-system-helpers (1.29) unstable; urgency=medium

  [ Michael Biebl ]
  * Bump debhelper compatibility level to 9.

  [ Raphael Geissert ]
  * invoke-rc.d: Fix behaviour when no start or stop symlink is found.
    Although update-rc.d(8) says that it is a common administration error to
    delete a start symlink instead of renaming it to make it a stop symlink,
    the default behaviour of invoke-rc.d in that case is not sensible, and
    leads to the init script being executed. (Closes: #546532)

  [ Martin Pitt ]
  * invoke-rc.d: Fix package installation failure when installing a package
    with an upstart script and systemd unit, but no SysV script in a chroot.
    (LP: #1543051)

  [ Felipe Sateler ]
  * update-rc.d: Ensure insserv doesn't fail if initscripts is not installed
    (Closes: #806438)

  [ Benda Xu ]
  * script/invoke-rc.d: Add OpenRC support.
  * script/update-rc.d: Add OpenRC support.

 -- Martin Pitt <mpitt@debian.org>  Mon, 29 Feb 2016 13:24:34 +0100

init-system-helpers (1.28ubuntu2) xenial; urgency=medium

  * invoke-rc.d: Fix package installation failure when installing a package
    with an upstart script and systemd unit, but no SysV script in a chroot.
    (LP: #1543051)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 08 Feb 2016 12:48:13 +0100

init-system-helpers (1.28ubuntu1) xenial; urgency=medium

  * Merge from Debian unstable.  Remaining changes:
    - init: Drop sysvinit-core as alternative pre-depends, and add
      upstart-sysv instead.
    - scripts/invoke-rc.d: clean eatmydata from environment unless
      INVOKE_RCD_ALLOW_EATMYDATA is set to value other than '0'. This does not
      affect systemd, thus this can be dropped after 16.04 LTS. (LP: #1257036)
    - invoke-rc.d: Fix actions to run under systemd if there is no init.d
      script but only an upstart job. Packages got fixed in 16.04 but this
      still affects upgrades. This can be dropped after 16.04 LTS.
   * Drop running-in-container. Remaining users have been moved to
     systemd-detect-virt. (LP: #1539016)
   * Drop invoke-rc.d's calling of 'initctl reload-configuration' to work
     reliably on systems with broken inotify. We don't have live systems under
     upstart any more, and on Ubuntu touch this does not apply.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 05 Feb 2016 12:52:51 +0100

init-system-helpers (1.28) unstable; urgency=medium

  [ Martin Pitt ]
  * invoke-rc.d: Fix actions to run under systemd if there is no init.d
    script. (Closes: #747851)
  * invoke-rc.d: Don't start systemd units which are disabled. Restart them
    only if they were already running (i. e. started manually by the admin).
    (Closes: #768450)
  * update-rc.d: Support /usr/lib/insserv/insserv location too, as with
    newer sysvinit versions.
  * Add autopkgtest which runs the tests in t/.
  * Drop Michael Stapelberg and Tollef Fog Heen from Uploaders:, they stopped
    systemd work long ago. Thanks for your great work in the past!
  * Run wrap-and-sort -at over our debian control files.

  [ Andreas Henriksson ]
  * Add support for -X option. (Closes: #760168)

  [ Michael Biebl ]
  * invoke-rc.d: Allow stop and status requests for masked systemd services.
    (Closes: #717109)

 -- Martin Pitt <mpitt@debian.org>  Fri, 05 Feb 2016 12:30:53 +0100

init-system-helpers (1.27) unstable; urgency=high

  Urgency high to not further delay the sysvinit migration to testing, and to
  avoid this going into testing with breaking file-rc.

  [ Martin Pitt ]
  * Add debian/clean to remove script/*1.p. (Closes: #812586)
  * Version the conflict to file-rc, 0.8.17 now works fine with the moved
    update-rc.d and invoke-rc.d.

 -- Martin Pitt <mpitt@debian.org>  Tue, 26 Jan 2016 11:35:49 +0100

init-system-helpers (1.26ubuntu2) xenial; urgency=medium

  * update-rc.d: Support /usr/lib/insserv/insserv location too, as with
    newer sysvinit versions.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Wed, 27 Jan 2016 16:25:22 +0100

# For older changelog entries, run 'apt-get changelog dh-systemd'
