init-system-helpers (1.23ubuntu4) wily-proposed; urgency=medium

  * apparmor-profile-load: don't fail if apparmor is not installed.
    (LP: #1521931)

 -- Serge Hallyn <serge.hallyn@ubuntu.com>  Thu, 03 Dec 2015 21:06:27 -0600

init-system-helpers (1.23ubuntu3) wily; urgency=medium

  * Put back Breaks:/Replaces for upstart/upstart-bin until
    we drop apparmor-profile-load again (#see 1432683). (LP: #1458630)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 01 Jun 2015 08:26:25 +0200

init-system-helpers (1.23ubuntu2) wily; urgency=medium

  * init: Alternatively depend on upstart-sysv, not upstart. (Merge error).

 -- Martin Pitt <martin.pitt@ubuntu.com>  Wed, 20 May 2015 13:56:29 +0200

init-system-helpers (1.23ubuntu1) wily; urgency=medium

  * Merge with Debian unstable. Remaining Ubuntu changes:
    - init: Drop sysvinit-core as alternative pre-depends.
    - Temporarily add /lib/init/apparmor-profile-load wrapper until it gets
      moved to upstart and LXC calls the right script (LP #1432683)
    - Temporarily add /bin/running-in-container until it finds a more
      appropriate place (LP #1442228)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 07 May 2015 13:44:21 +0200

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

  [ Didier Roche ]
  * deb-system-invoke: don't start disabled systemd services (in case
    of systemd only services), when there is no init script. (Closes: #768456)
    Add some conditions to start the job on deb-system-invoke [restart|start],
    during package upgrade:
    - deb-system-invoke start <unit> doesn't do anything on systemd if the
      unit is disabled or static.
    - deb-system-invoke restart <unit> only restarts a disabled or static unit
      if the daemon was already running (forced by the admin).
    - in case of multiple units in error passed to deb-system-invoke, this one
      will exit with last unit in errror exit code.

  [ Martin Pitt ]
  * t/001-deb-systemd-helper.t: Verify that the commands exit successfully.
  * t/001-deb-systemd-helper.t: Add tests for Alias= handling.
  * t/001-deb-systemd-helper.t: Add tests for Alias and mask handling with
    uninstalled .service file (as in package postrm scripts).
  * deb-systemd-helper: Ignore Also= and Alias= referring to itself, and avoid
    mask symlink creation errors on systems where units with those have
    already been installed. Add corresponding test to
    001-deb-systemd-helper.t. (LP: #1439793)
  * init: Add ${misc:Depends} dependency to quiesce lintian.
  * Bump Standards-Version to 3.9.6 (no changes necessary).
  * debian/copyright: Fix short license name for BSD-3-clause.
  * Add myself to Uploaders: (member of pkg-systemd-maintainers)

  [ Jérémy Bobbio ]
  * Make the package build reproducibly by using latest entry in
    debian/changelog to set the manpages date. (Closes: #782855)

  [ Dimitri John Ledkov ]
  * Mark "init" metapackage Multi-Arch: foreign. (Closes: #756026)

 -- Martin Pitt <mpitt@debian.org>  Tue, 28 Apr 2015 15:05:44 +0200

init-system-helpers (1.22ubuntu11) vivid; urgency=medium

  * Fix wrong "three" in package description. (LP: #1441322)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 10 Apr 2015 06:53:45 +0200

init-system-helpers (1.22ubuntu10) vivid; urgency=medium

  * Move /bin/running-in-container from upstart and update it so that
    systemd-based vivid hosts can use it.  (LP: #1442228)

 -- Serge Hallyn <serge.hallyn@ubuntu.com>  Thu, 09 Apr 2015 18:40:41 -0500

init-system-helpers (1.22ubuntu9) vivid; urgency=medium

  Cherry-pick tests and a bug fix from Debian git:
  * t/001-deb-systemd-helper.t: Verify that the commands exit successfully.
  * t/001-deb-systemd-helper.t: Add tests for Alias= handling.
  * t/001-deb-systemd-helper.t: Add tests for Alias and mask handling with
    uninstalled .service file (as in package postrm scripts).
  * deb-systemd-helper: Ignore Also= and Alias= referring to itself, and avoid
    mask symlink creation errors on systems where units with those have
    already been installed. Add corresponding test to
    001-deb-systemd-helper.t. (LP: #1439793)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 09 Apr 2015 13:10:17 +0200

init-system-helpers (1.22ubuntu8) vivid; urgency=medium

  * Make init "Essential: yes" again, it's the only way to guarantee a
    sane upgrade path for people without ubuntu-minimal (LP: #1436956)

 -- Adam Conrad <adconrad@ubuntu.com>  Tue, 07 Apr 2015 10:27:59 -0600

init-system-helpers (1.22ubuntu7) vivid; urgency=medium

  * Declare Breaks/Replaces against both upstart and upstart-bin since
    /lib/init/apparmor-profile-load briefly appeared in both packages
    (LP: #1439988).

 -- Robie Basak <robie.basak@ubuntu.com>  Tue, 07 Apr 2015 16:21:23 +0100

init-system-helpers (1.22ubuntu6) vivid; urgency=medium

  * Add /lib/init/apparmor-profile-load; moved from the upstart package to the
    apparmor package and wrapped here under the old path. This name can
    continue to be used by init scripts to save them individually testing if
    apparmor is installed, as this wrapper performs this task.
    (LP: #1432683)

 -- Robie Basak <robie.basak@ubuntu.com>  Thu, 02 Apr 2015 11:13:36 -0500

init-system-helpers (1.22ubuntu5) vivid; urgency=medium

  * Depend on upstart-sysv instead of upstart (LP: #1422681)

 -- Didier Roche <didrocks@ubuntu.com>  Mon, 23 Mar 2015 10:44:07 +0100

init-system-helpers (1.22ubuntu4) vivid; urgency=medium

  * init: Switch preferred alternative to systemd, and update package
    description to make sense for Ubuntu. (LP: #1427654)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Sun, 08 Mar 2015 12:26:24 +0100

init-system-helpers (1.22ubuntu3) vivid; urgency=medium

  * Add back systemd-sysv as alternative pre-depends, it's now a
    reasonably supported init for vivid.

 -- Dimitri John Ledkov <dimitri.j.ledkov@linux.intel.com>  Sun, 22 Feb 2015 23:10:37 +0000

init-system-helpers (1.22ubuntu2) vivid; urgency=medium

  * deb-system-invoke: don't start disabled systemd services (in case
    of systemd only services), when there is no init script. (Closes: #768456)
    Add some conditions to start the job on deb-system-invoke [restart|start],
    during package upgrade:
    - deb-system-invoke start <unit> doesn't do anything on systemd if the
      unit is disabled or static.
    - deb-system-invoke restart <unit> only restarts a disabled or static unit
      if the daemon was already running (forced by the admin).
    - in case of multiple units in error passed to deb-system-invoke, this one
      will exit with last unit in errror exit code.

 -- Didier Roche <didrocks@ubuntu.com>  Fri, 07 Nov 2014 15:01:27 +0100

init-system-helpers (1.22ubuntu1) vivid; urgency=medium

  * Merge with Debian unstable. Remaining Ubuntu changes:
    - init: Drop sysvinit-core, systemd-sysv as alternative
      pre-depends. Upstart is the only supported init at the moment.
    - init: Drop Essential:yes, in Ubuntu upstart is not essential.
    - init: Mark as Multi-Arch:foreign.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 20 Nov 2014 15:14:10 +0100

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

  * Depend on perl-base instead of perl (Closes: #757891)

 -- Michael Stapelberg <stapelberg@debian.org>  Mon, 17 Nov 2014 20:47:58 +0100

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

  * Demote augeas-tools to Suggests and let the systemd2init tool error out
    if /usr/bin/augtool is not installed. Packages which want to make use of
    systemd2init will have to depend on augeas-tools themselves.
  * Switch the default init system to systemd-sysv on Linux as per #727708.

 -- Michael Biebl <biebl@debian.org>  Thu, 21 Aug 2014 07:40:41 +0200

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

  [ Michael Stapelberg ]
  * Add systemd2init tool which can be used to generate SysV init scripts from
    systemd .service files. The systemd2init tool requires Augeas, so add a
    Depends on augeas-tools to dh-systemd. (Closes: #741252)
    Maintained by Ondřej Surý <ondrej@debian.org>
  * Clarify dh_systemd_enable documentation (Thanks Michael Meskes for the
    patch).

  [ Michael Biebl ]
  * Add new "init" metapackage which ensures that an init system is installed
    at all times. For now the default is still sysvinit-core.

 -- Michael Biebl <biebl@debian.org>  Thu, 24 Jul 2014 23:49:57 +0200

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

  * Use try-restart only on upgrades, start after initial installation
    (Closes: #750404)
  * improve error message wording (Closes: #750986)
  * dh_systemd_enable: document the --name option (Closes: #750992)

 -- Michael Stapelberg <stapelberg@debian.org>  Sat, 14 Jun 2014 13:17:57 +0200

init-system-helpers (1.18) unstable; urgency=low

  * d-s-h: add “purge” verb, use it in autoscripts. (Closes: #721244)

 -- Michael Stapelberg <stapelberg@debian.org>  Tue, 25 Feb 2014 19:36:18 +0100

init-system-helpers (1.17) unstable; urgency=low

  * d-s-h: don’t error out when masking a service is not possible because
    /etc/systemd/system/<service> already exists (but is not a symlink).
    (Closes: #739090)

 -- Michael Stapelberg <stapelberg@debian.org>  Tue, 18 Feb 2014 20:52:20 +0100

init-system-helpers (1.16) unstable; urgency=low

  * Don’t delete /etc/systemd/, only the hierarchy below /etc/systemd/system/.
    This is necessary to fix piuparts warnings since we ship
    /etc/systemd/system since i-s-h 1.15 (Thanks Andreas Beckmann).

 -- Michael Stapelberg <stapelberg@debian.org>  Mon, 17 Feb 2014 20:32:54 +0100

init-system-helpers (1.15) unstable; urgency=low

  * ship /etc/systemd/system to avoid piuparts warnings
  * d-s-h: add spaces to allow the manpage to break lines with MANWIDTH=80
  * i-s-h: override lintian warning spelling-error-in-manpage, we cannot
    rename the upstream command “systemctl reenable” into “re-enable”
  * bump standards-version to 3.9.5 (no changes necessary)

 -- Michael Stapelberg <stapelberg@debian.org>  Fri, 07 Feb 2014 20:18:34 +0100

init-system-helpers (1.14) unstable; urgency=low

  * dh_systemd: treat symlinks like aliases (Closes: #731803)

 -- Michael Stapelberg <stapelberg@debian.org>  Wed, 25 Dec 2013 14:35:55 +0100

init-system-helpers (1.13) unstable; urgency=low

  * d-s-h: cleanup state directory on unmask (for piuparts)

 -- Michael Stapelberg <stapelberg@debian.org>  Wed, 06 Nov 2013 19:10:45 +0100

init-system-helpers (1.12) unstable; urgency=low

  * dh_systemd: lower generated dependency from 1.11 to 1.11~
  * d-s-h: Don’t print action(s) to stderr, no news are good news
    (Closes: #723727)

 -- Michael Stapelberg <stapelberg@debian.org>  Mon, 04 Nov 2013 19:52:10 +0100

init-system-helpers (1.11) unstable; urgency=low

  * dh_systemd_enable: unmask service on purge to not leave the mask sylink
    behind (Closes: #723759)

 -- Michael Stapelberg <stapelberg@debian.org>  Fri, 20 Sep 2013 16:27:46 +0200

init-system-helpers (1.10) unstable; urgency=low

  * Bugfix: check whether /var/lib/systemd/deb-systemd-helper-enabled exists
    (Thanks Alf Gaida) (Closes: #723693)
  * d-s-h: Fix mask/unmask implementation (Thanks Michael Biebl)
    (Closes: #714903)

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 19 Sep 2013 02:13:14 +0000

init-system-helpers (1.9) unstable; urgency=low

  * dh_systemd_enable: document debian/package.{service,tmpfile}
  * Bugfix: create files with permission 0644 (Closes: #722524)
  * dh_systemd_enable: skip unit files without an [Install] section
    (Closes: #721241)
  * d-s-h: implement mask and unmask commands
  * update maintscripts to mask a service while removed (but not purged)
    (Closes: #722521, #714903)

 -- Michael Stapelberg <stapelberg@debian.org>  Wed, 18 Sep 2013 04:46:06 +0200

init-system-helpers (1.8) unstable; urgency=low

  * Add test suite (development-time, not build-time)
  * deb-systemd-helper: implement was-enabled, debian-installed, update-state
  * deb-systemd-helper: update files atomically to be more robust when being
    cancelled
  * dh_systemd_enable: deal with changes to the [Install] section
    (Closes: #717603)

 -- Michael Stapelberg <stapelberg@debian.org>  Wed, 24 Jul 2013 22:43:08 +0200

init-system-helpers (1.7) unstable; urgency=low

  * Drop dependency on libmodule-install-perl to make it easier to have this
    package in Ubuntu (Thanks Jeremy Bicha) (Closes: #716929)

 -- Michael Stapelberg <stapelberg@debian.org>  Tue, 16 Jul 2013 23:53:28 +0200

init-system-helpers (1.6) unstable; urgency=low

  * Fix syntax error in dh_systemd_start (Closes: #716946)

 -- Michael Stapelberg <stapelberg@debian.org>  Mon, 15 Jul 2013 17:49:57 +0200

init-system-helpers (1.5) unstable; urgency=low

  * deb-systemd-helper: clean up /var/lib/systemd/deb-systemd-helper-enabled
    and /etc/systemd to pass a piuparts run.
  * deb-systemd-helper: add --quiet
  * dh_systemd_enable: add --no-enable
  * dh_systemd_start: add --no-start

 -- Michael Stapelberg <stapelberg@debian.org>  Sun, 14 Jul 2013 21:53:26 +0200

init-system-helpers (1.4) unstable; urgency=low

  * deb-systemd-helper: ensure state directory exists before writing to it
    (Thanks uau, bigon) (Closes: #714265)

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 27 Jun 2013 18:28:36 +0200

init-system-helpers (1.3) unstable; urgency=low

  * deb-systemd-helpe): replicate /etc/systemd/system in state dir
  * deb-systemd-helper: delete state file on remove if user didn’t disable
    service
  * deb-systemd-helper: always store .dsh-also state, not only when creating
    links
  * add deb-systemd-invoke, a wrapper which respects (basic) policy-rc.d

 -- Michael Stapelberg <stapelberg@debian.org>  Wed, 19 Jun 2013 19:44:59 +0200

init-system-helpers (1.2) unstable; urgency=low

  * split dh_systemd into dh_systemd_start and dh_systemd_enable. This makes
    each helper much easier and allows us to do the right thing — we need to
    run parts of the code _before_ dh_installinit and parts of the code
    _afterwards_.
  * deb-systemd-helper: only remove state file on purge.
  * deb-systemd-helper: store state about which units were enabled in addition
    to the specified one. This allows us to drop Also= and Alias= units from
    the call to deb-systemd-helper and behave more like systemctl.

 -- Michael Stapelberg <stapelberg@debian.org>  Tue, 18 Jun 2013 23:38:45 +0200

init-system-helpers (1.1) unstable; urgency=low

  * deb-systemd-helper: also store enable state for already enabled units
  * add dh-systemd package which contains the dh_systemd debhelper add-on

 -- Michael Stapelberg <stapelberg@debian.org>  Tue, 11 Jun 2013 23:32:02 +0200

init-system-helpers (1.0) unstable; urgency=low

  * Initial release

 -- Michael Stapelberg <stapelberg@debian.org>  Sun, 05 May 2013 11:25:48 +0200
