Get:1 http://changelogs.ubuntu.com init-system-helpers 1.29ubuntu3 Changelog [24.3 kB] 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 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 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 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 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 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 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 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 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 Wed, 27 Jan 2016 16:25:22 +0100 init-system-helpers (1.26ubuntu1) xenial; urgency=low * Merge from Debian unstable. Remaining changes: - init: Drop sysvinit-core as alternative pre-depends. - Temporarily add /bin/running-in-container until it finds a more appropriate place (LP: #1442228) - reinstate upstart as an alternative iniit dependency. - Add Breaks/Replaces on upstart to cover move of /bin/running-in-container (LP: #1511899). - scripts/invoke-rc.d: clean eatmydata from environment unless INVOKE_RCD_ALLOW_EATMYDATA is set to value other than '0'. (LP: #1257036) - invoke-rc.d: Fix actions to run under systemd if there is no init.d script. (Closes: #747851) - invoke-rc.d: Don't start disabled systemd services, and don't restart non-running services. (Closes: #768450) - invoke-rc.d: Don't fail on masked services. (LP: #1312975) - invoke-rc.d: Call 'initctl reload-configuration' to work reliably on systems with broken inotify. (Can be dropped once we stop supporting upstart) -- Andy Whitcroft Mon, 25 Jan 2016 17:22:05 +0000 init-system-helpers (1.26) unstable; urgency=medium * Drop upstart as an alternative init dependency, as the package got removed. * Conflict to current openrc version <= 0.18.3-1, to stop the upgrade before running into the update-rc.d file conflict. (Closes: #811662) This assumes that the next openrc upload diverts update-rc.d (see #811708). -- Martin Pitt Fri, 22 Jan 2016 16:02:24 +0100 init-system-helpers (1.25) unstable; urgency=medium [ Andreas Henriksson ] * Import invoke-rc.d + update-rc.d from sysvinit 2.88dsf-59.2 (see #805487) * Import service from sysvinit 2.88dsf-59.2 * Move service files into non-specific subdirectory * init-system-helpers: Ship invoke-rc.d, update-rc.d and service * Only pod2man init-system-helpers script for now * update-rc.d: drop old fallback path for insserv * update-rc.d: only use insserv if available * Raise init-system-helpers Priority to required [ Martin Pitt ] * Update i-s-h package description to describe the newly moved tools. * Make init depend on init-system-helpers, to ensure the availability of invoke-rc.d and update-rc.d if/once sysvinit-utils becomes non-essential. -- Martin Pitt Mon, 18 Jan 2016 15:13:20 +0100 init-system-helpers (1.24ubuntu2) xenial; urgency=medium * Add Breaks/Replaces on upstart to cover move of /bin/running-in-container (LP: #1511899). -- Robie Basak Tue, 17 Nov 2015 15:46:35 +0000 init-system-helpers (1.24ubuntu1) xenial; urgency=medium * Merge with Debian unstable. Remaining Ubuntu changes: - init: Drop sysvinit-core as alternative pre-depends. - Temporarily add /bin/running-in-container until it finds a more appropriate place (LP: #1442228) * Drop /lib/init/apparmor-profile-load wrapper, it got moved to upstart (LP: #1432683) -- Martin Pitt Mon, 26 Oct 2015 09:06:27 +0100 init-system-helpers (1.24) unstable; urgency=medium [ Helmut Grohne ] * Fix FTCBFS: Annotate perl dependency with :any. (Closes: #794339) [ Reiner Herrmann ] * dh_systemd_{enable,start}: Sort list of unit files, to make generated maintainer scripts reproducible. (Closes: #801470) -- Martin Pitt Tue, 13 Oct 2015 06:55:44 +0200 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 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 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 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 doesn't do anything on systemd if the unit is disabled or static. - deb-system-invoke restart 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 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 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 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 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 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 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 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 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 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 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 doesn't do anything on systemd if the unit is disabled or static. - deb-system-invoke restart 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 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 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 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 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ý * 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 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 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 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/ already exists (but is not a symlink). (Closes: #739090) -- Michael Stapelberg 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Tue, 11 Jun 2013 23:32:02 +0200 init-system-helpers (1.0) unstable; urgency=low * Initial release -- Michael Stapelberg Sun, 05 May 2013 11:25:48 +0200 Fetched 24.3 kB in 0s (191 kB/s)