You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

958 lines
39 KiB

init-system-helpers (1.60+devuan1) unstable; urgency=medium
* Merge debian/1.60.
* Fix missing space in 1.58+devuan1 changelog entry.
-- Mark Hindley <mark@hindley.org.uk> Tue, 02 Mar 2021 10:59:32 +0000
init-system-helpers (1.60) unstable; urgency=medium
* deb-systemd-*, update-rc.d: Don't hard-code path to systemctl binary.
This should simplify an eventual move of systemctl from /bin to /usr/bin.
* Switch to debhelper-compat and bump compat level to 13
* Bump Standards-Version to 4.5.1
* Drop obsolete Breaks/Replaces and Conflicts
* Remove init-system-helpers.lintian-overrides, no longer needed
-- Michael Biebl <biebl@debian.org> Mon, 14 Dec 2020 21:19:00 +0100
init-system-helpers (1.59) unstable; urgency=medium
* invoke-rc.d: Remove unnecessary systemctl daemon-reload.
We have proper support in update-rc.d and debhelper nowadays, which
makes this superfluous.
* invoke-rc.d,service: Stop using ignore-dependencies.
Ignoring dependencies during bootup and shutdown can have undesired
side-effects, like changing the ordering of services and ultimately
causing them to fail. So drop this hack, which was added to work around
issues in hook scripts. We only keep a special case for reload requests,
where we schedule those with "no-block" to avoid unnecessary dead-locks.
(Closes: #960595)
-- Michael Biebl <biebl@debian.org> Thu, 19 Nov 2020 23:35:09 +0100
init-system-helpers (1.58+devuan1) unstable; urgency=medium
* Merge Debian version 1.58.
* d/control: update Vcs-* fields following Gitea migration.
-- Mark Hindley <mark@hindley.org.uk> Mon, 06 Jul 2020 14:03:10 +0100
init-system-helpers (1.58) unstable; urgency=medium
[ Guilhem Moulin ]
* Ensure dh_installsystemduser(1)-added snippets pass piuparts.
Claim ownership of /etc/systemd/user (like /etc/systemd/system)
and make `deb-systemd-helper --user unmask` remove
/var/lib/systemd/deb-systemd-user-helper-masked if empty
(like `deb-systemd-helper unmask` does for
/var/lib/systemd/deb-systemd-helper-masked).
For packages shipping user units installed with dh_installsystemduser(1).
(Closes: #964159)
[ Michael Biebl ]
* man: Fix typo in service(8) man page (Closes: #925995)
* update-rc.d: Consider /usr/lib/systemd/system when searching for unit files
-- Michael Biebl <biebl@debian.org> Sun, 05 Jul 2020 11:50:05 +0200
init-system-helpers (1.57+devuan1) unstable; urgency=medium
* Merge Debian version 1.57.
-- Mark Hindley <mark@hindley.org.uk> Mon, 25 May 2020 17:27:18 +0100
init-system-helpers (1.57) unstable; urgency=medium
[ Dmitry Bogatov ]
* Document that `service` does not check /usr/sbin/policy-rc.d.
It is an administrator interface, so it is meant to be able to start
disabled services. (Closes: #656081)
-- Michael Biebl <biebl@debian.org> Fri, 21 Jun 2019 20:56:55 +0200
init-system-helpers (1.56+nmu1+devuan3) unstable; urgency=medium
* Fix nmu1 inclusion of runit-init in init Pre-Depends (Closes: #443).
* Correct Devuan Developers list address as Maintainer.
* Remove references to upstart.
* Add myself to uploaders.
* d/gbp.conf: add debian-tag default.
-- Mark Hindley <mark@hindley.org.uk> Sat, 09 May 2020 16:10:56 +0100
init-system-helpers (1.56+nmu1+devuan2) unstable; urgency=medium
* debian/control: Fix Vcs-* entries.
-- Svante Signell <svante.signell@gmail.com> Wed, 29 Jan 2020 17:22:24 +0100
init-system-helpers (1.56+nmu1+devuan1) unstable; urgency=medium
* debian/control:
- Add Origin: Devuan
- Change maintainer to Devuan Dev Team <devuan-dev@lists.dyne.org>.
- Add myself to Uploaders.
- Change Priority: to optional, as in upstream.
- Package: init: Make dependency on init-system-helpers versioned,
makes lintian happy.
- Fix start of empty-line with a blank+dot.
* debian/changelog: Delete trailing whitespace.
* debian/init-system-helpers.lintian-overrides: Remove, unused.
* debian/gbp.conf: make [default] section uppercase, remove [dch] section.
-- Svante Signell <svante.signell@gmail.com> Tue, 28 Jan 2020 14:49:24 +0100
init-system-helpers (1.56+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* Add `runit-init' as alternative pre-dependency (Closes: #838480)
-- Dmitry Bogatov <KAction@debian.org> Mon, 03 Dec 2018 23:10:03 +0000
init-system-helpers (1.56+devuan1) unstable; urgency=medium
* merged upstream into unstable
-- Vincenzo (KatolaZ) Nicosia <katolaz@freaknet.org> Sat, 24 Nov 2018 15:27:18 +0000
init-system-helpers (1.56) unstable; urgency=medium
* update-rc.d: If systemctl is available, use it in make_systemd_links.
To not create an endless loop, we set SYSTEMCTL_SKIP_SYSV=1 which is
respected by systemd-sysv-install since v228. Add a versioned Breaks
against systemd accordingly.
* man: Fix name field of update-rc.d man page
* man: Stop mentioning file-rc in invoke-rc.d man page.
The file-rc package has been removed from the archive.
* man: Stop mentioning bum and sysv-rc-conf in update-rc.d man page
* man: Update bugtracker URLs.
invoke-rc.d and update-rc.d are provided by init-system-helpers
nowadays. Keep a reference to sysv-rc, for the sysvinit related bits.
-- Michael Biebl <biebl@debian.org> Thu, 22 Nov 2018 00:15:24 +0100
init-system-helpers (1.55+devuan1.1) unstable; urgency=medium
* merged 1.55 into unstable
-- Vincenzo (KatolaZ) Nicosia <katolaz@freaknet.org> Tue, 20 Nov 2018 16:08:43 +0000
3 years ago
init-system-helpers (1.55) unstable; urgency=medium
3 years ago
[ Ondřej Nový ]
* d/control: Deprecating priority extra as per policy 4.0.1
3 years ago
[ Benda Xu ]
* s/update-rc.d: let OpenRC run after sysv_{insserv,plain}
Refactorization in 6cb72b59a0a1898939b818d8d2 made rc-update from
OpenRC run *before* sysv_{insserv,plain}. OpenRC needs to
sychronize with /etc/rc?.d links to maintain consistency and
administrator configurations, therefore it has to be executed after
them. (Closes: #910444)
[ Felipe Sateler ]
* Fix manpage listings in d/copyright for rst manual pages.
The names were not changed correctly when the manpages were rewritten in
rst.
* Bump Standards-Version (no changes needed)
-- Felipe Sateler <fsateler@debian.org> Wed, 24 Oct 2018 08:31:28 -0300
3 years ago
init-system-helpers (1.54) unstable; urgency=medium
* Revert "Drop fallback for old versions of systemd that didn't have
is-enabled"
If a package ships both init script and systemd service file, the
systemd unit will not be enabled by the time invoke-rc.d is called
(with current debhelper sequence). This would make systemctl is-enabled
report the wrong status, and then the service would not be started.
Add a comment noting this to avoid removing again in the future.
This reverts commit 6f95680ffc9b1605841eb7d3d8eb92c790e6c73a.
(Closes: #906421, #906051)
-- Felipe Sateler <fsateler@debian.org> Fri, 17 Aug 2018 10:33:08 -0300
3 years ago
init-system-helpers (1.53) unstable; urgency=medium
* tests: only load Linux::Clone if not testing on real system
'use' directive is evaluated at compile time, so having it inside an 'if'
statement does not have the expected effect. Use the 'use if' directive instead.
This fixes running the autopkgtests in clean systems without Linux::Clone module
-- Felipe Sateler <fsateler@debian.org> Wed, 15 Aug 2018 23:52:53 -0300
init-system-helpers (1.52) unstable; urgency=medium
[ Felipe Sateler ]
* Change Vcs-* urls to point to the new salsa service
* Drop fallback for old versions of systemd that didn't have is-enabled.
This reverts commit 0e43de3196a68e59d8a543d1cf7f5b4bfbb27451
* invoke-rc.d: add option to do nothing for native systemd units.
It is useful to simplify maintainer scripts, since it allows executing
this command for sysvinit/openrc
systems, and deb-systemd-invoke for systemd systems
* Update Standards-Version
* deb-systemd-*: Invoke perl interpreter directly in /usr/bin.
Do not go through PATH, and avoid possibly using a user-installed
interpreter
* Bump debhelper compat level to 11
* Fix manpage references in d/copyright.
They were not updated when the manpages were converted to rst
* Replace usage of dpkg-parsechangelog with pkg-info.mk provided by dpkg-dev
[ Daniele Nicolodi ]
* deb-systemd-helper: Fix typo in man page
* d/rules: Fix man pages header and footer.
Pass options to pod2mn to get correct header and footer content.
* deb-systemd-helper: Add comment explaining why 'systemctl preset' is used
* tests: Move common setup code and test functions to a new helpers.pm module
* tests: Fix setup when TEST_ON_REAL_SYSTEM is not set
* tests: Do not require Linux::Clone Perl module if TEST_ON_REAL_SYSTEM is
set.
If the TEST_ON_REAL_SYSTEM environment variable is set, the bind
mounting of empty directories not top of system difrectoried affected
by the tests is skipt. Therefore, there is no need to isolate the
tests in a mount namespace.
* tests: Make sure that the tests do not clutter the host system.
In the mount namespace created for the tests, remount the root
filesystem read-only. To be able to create temporary files and
directories, mount a tmpfs on /tmp.
* autopkgtests: Drop seteup steps that are not required anymore
* deb-systemd-helper: Implement user instance's service handling
* tests: Add tests for user instance's service handling
* tests: Make calling 'deb-systemd-helper' in tests less verbose.
Removing the shell interposition in the system() calls avoids edge
cases in parameters handling (there were places where the randomly
generated unit names were not correctly quoted) and speeds up tests
execution.
* tests: Check that the root filesystemd has been marked private
-- Felipe Sateler <fsateler@debian.org> Sun, 12 Aug 2018 10:19:38 -0300
4 years ago
init-system-helpers (1.51) unstable; urgency=high
[ Michael Biebl ]
* Drop obsolete debian/init-system-helpers.postinst
* Drop man page translations for update-rc.d.
Those are outdated and not installed anyway.
[ Felipe Sateler ]
* Fix errors in pod2man invocations.
Catch errors when building pod manpages, and stop trying to build
documentation for the debhelper tools
4 years ago
* Convert manpages into reStructuredText
* update-rc.d: fix typo that was disabling all sysv scripts in defaults mode
(Closes: #879771).
-- Felipe Sateler <fsateler@debian.org> Wed, 25 Oct 2017 12:38:42 -0300
4 years ago
init-system-helpers (1.50) unstable; urgency=medium
[ Steve Langasek ]
* autopkgtests: Correctly handle unit names that can contain escape sequences.
They need to be quoted so that the shell does not parse them.
(Closes: #873789)
[ Felipe Sateler ]
* Refactor internals of update-rc.d
- Refactor actions into a sequence of steps according to the installed
init systems. This makes plugging new init systems or new actions
easier.
* Add vim modelines for file type
* update-rc.d: remove -n (dryrun) option, as it did not work.
Given that nobody complained, lets just remove it. (Closes: #856415)
* update-rc.d: Add a defaults-disabled action.
It allows installing a service but disabled. (Closes: #857452)
* Briefly document defaults-disabled
-- Felipe Sateler <fsateler@debian.org> Thu, 12 Oct 2017 20:16:13 -0300
init-system-helpers (1.49) unstable; urgency=low
[ Felipe Sateler ]
* Upload to unstable. Urgency low due to large changeset.
* d-s-invoke: Execute systemctl once when starting units.
This ensures systemd itself can order them the best way it sees fit.
(Closes: #848192)
* update-rc.d: check that /etc/insserv.conf exists before invoking insserv.
It might happen that the binary exists but the configuration file doesn't,
and then the insserv invocation will fail. Therefore don't consider insserv
installed until the configuration file exists.
Thanks to Petter Reinholdtsen for the patch. (Closes: #849284)
* Bump Standards-Version
[ Iain Lane ]
* invoke-rc.d: Pass --full to `systemctl status', so we don't get ellipsised
output.
[ Michael Biebl ]
* Drop support for upstart
-- Felipe Sateler <fsateler@debian.org> Mon, 17 Jul 2017 12:27:32 -0400
init-system-helpers (1.48+devuan2.0) unstable; urgency=medium
* Bump changelog for Devuan
-- Ivan J. <parazyd@dyne.org> Thu, 12 Oct 2017 11:50:00 +0200
5 years ago
init-system-helpers (1.48) unstable; urgency=medium
* Team upload
* [fbabdc8] Handle units with escaped characters correctly.
See
https://www.freedesktop.org/software/systemd/man/systemd-escape.html
for details. (Closes: #861204)
-- Bernd Zeimetz <bzed@debian.org> Tue, 02 May 2017 12:20:21 +0200
5 years ago
init-system-helpers (1.47) unstable; urgency=medium
[ Christian Hofstaedtler ]
* Align policy-rc.d existing/nonexisting case for custom actions.
Previously, when calling invoke-rc.d with a "custom" action, it
would print an error when a policy-rc.d file was installed, but
it would be silent if no such file was installed. (Closes: #728682)
[ Andreas Henriksson ]
* Do policy-rc.d automatically in init-less chroots.
See #838966 and #838997 for background.
A debootstrap with --variant=minbase will have lsb-base installed,
so the person running into this issue must have:
- not added a policy-rc.d in his init-less chroot
- removed lsb-base manually (and what else?)
This patch auto-detects the situation with init-less chroot that's
missing a policy-rc.d and deals with it automatically (plus gives
a warning message). (Closes: #843761)
[ Ondřej Nový ]
* Add try-restart action.
See #851688
[ Felipe Sateler ]
* Make init depend on a new enough init-system-helpers.
In jessie, update-rc.d/invoke-rc.d/service are shipped by sysv-rc.
They got moved to init-system-helpers after that, so make sure we
have the new versions to ensure the scripts are available.
This dependency can probably be dropped after stretch is released.
* update-rc.d: allow trailing whitespace in LSB header delimiters.
It is a hard to diagnose condition because trailing spaces are
invisible in most editors. Moreover, all the other parsers (systemd,
insserv) allow such trailing space. (Closes: #851730)
* Release
[ Daniel Reurich ]
* Merge 1.47 from debian
-- Daniel Reurich <centurion@haggai.centurion.net.nz> Fri, 27 Jan 2017 16:04:58 +1300
init-system-helpers (1.46+devuan1.0) unstable; urgency=medium
* re-add newline between source and package stanza
* merge 1.46 from debian
-- Daniel Reurich <centurion@haggai.centurion.net.nz> Fri, 27 Jan 2017 15:44:52 +1300
init-system-helpers (1.46) unstable; urgency=medium
* Drop dh-systemd transitional package.
It is now provided by debhelper (Closes: #841914)
* Add a meaningful short description to init metapackage
* Document copyright of things lifted from pkg:sysvinit (Closes: #839545)
* Use https url for copyright format
-- Felipe Sateler <fsateler@debian.org> Sun, 06 Nov 2016 17:02:00 -0300
init-system-helpers (1.45) unstable; urgency=medium
* Revert "invoke-rc.d, service: Asynchronously reload systemd units"
This caused fallout at least in the autopkgtests of two packages, possibly many
more, thus could also break assumptions in more important environments, and was
just a defensive move, not a bug fix.
This reverts commit 9cfb6dfed4a38b7c3d8b7fd04a7681690049e424.
-- Martin Pitt <mpitt@debian.org> Tue, 20 Sep 2016 16:27:43 +0200
init-system-helpers (1.44) unstable; urgency=medium
* invoke-rc.d, service: Check for multi-user.target instead of
graphical.target. There is a curious bug which sometimes causes
"systemctl is-active default.target" to say inactive until "show" or
"status" gets called on the unit. This needs to be investigated. Until
then, check for multi-user.target which by and large does the same job,
but seems to work reliably.
-- Martin Pitt <mpitt@debian.org> Mon, 12 Sep 2016 22:52:23 +0200
init-system-helpers (1.43) unstable; urgency=medium
[ Felipe Sateler ]
* Add /etc/rc?.d to the dirs shipped by init-system-helpers.
(Closes: #834524)
[ Martin Pitt ]
* invoke-rc.d, service: Only ignore systemd unit dependencies before
default.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. Fixes installation of
packages like PostgreSQL under cloud-init or when manually installing
packages right after booting. (LP: #1576692)
* invoke-rc.d, service: Asynchronously reload systemd units.
Reloading SysV init scripts has never been synchronous, so use --no-block
to reload them under systemd. This is another, and a better, line of
defence against if-up.d hook deadlocks during boot (see
https://bugs.debian.org/777113).
-- Martin Pitt <mpitt@debian.org> Mon, 12 Sep 2016 09:35:28 +0200
init-system-helpers (1.42) unstable; urgency=medium
[ Michael Biebl ]
* init-system-helpers: Include insserv package state when filing a bug.
This makes it easier to figure out if the fallback code in update-rc.d
was used or not.
[ Felipe Sateler ]
* Add myself to uploaders
* update-rc.d: preserve S/K links when insserv is not installed.
If there are any links, preserve them. In fallback mode we don't care
about the number encoded, but we do care about the S/K state. So instead
of trying to renumber back to 01, preserve the actually existing links.
This also fixes a bug that could cause multiple enable links to be
created for a single service. (Closes: #832945)
-- Felipe Sateler <fsateler@debian.org> Sat, 30 Jul 2016 17:04:28 -0400
init-system-helpers (1.41) unstable; urgency=medium
* update-rc.d: Properly handle enable|disable for SysV init scripts if
insserv is not available. (Closes: #832582)
-- Michael Biebl <biebl@debian.org> Wed, 27 Jul 2016 11:42:54 +0200
init-system-helpers (1.40) unstable; urgency=medium
[ Martin Pitt ]
* update-rc.d: Add fallback if insserv is not available.
If insserv is not available, we are either under systemd or a chroot,
where the rc?.d/ link priorities don't matter, so create the
/etc/rc?.d/[SK]01<name> links with a hardcoded "01" priority.
Drop insserv dependency again.
* invoke-rc.d: Add SysV fallback for "systemctl is-enabled".
Version 1.35 switched to "systemctl is-enabled" to determine if a service
is enabled. This also has worked for SysV init scripts since systemd 220-1
(via the systemd-sysv-install wrapper), but does not yet work under
Jessie's systemd 215. Add a fallback to checking runlevel symlinks (for
any runlevel) to fix upgrades where init-system-helpers gets upgraded
before systemd, and to make i-s-h backportable to Jessie.
(Closes: #830982)
[ Michael Biebl ]
* invoke-rc.d: Drop fallback code for ancient upstart versions.
Even wheezy ships a version >= 0.9.7.
* invoke-rc.d: Only consider the enabled-state for start and restart.
We should not deny other actions, like status, stop or reload on
disabled services.
* invoke-rc.d: Don't check the enabled state twice.
On start|restart we already enforce the local policy and RC will be set
to 101, if the service was disabled.
Also, checking for the output of "systemctl --quiet is-enabled" is
problematic, as it is currently broken for non-native services [1].
So drop it completely.
[1] https://github.com/systemd/systemd/issues/3813
* invoke-rc.d: Allow restarting disabled-but-running services.
Restart services that are disabled but have been started manually.
A start request for a running service is a nop under systemd, so we
don't need to handle start and restart separately.
-- Michael Biebl <biebl@debian.org> Tue, 26 Jul 2016 22:44:01 +0200
init-system-helpers (1.39) unstable; urgency=medium
* Add an explicit dependency on insserv. For now we still need insserv in
update-rc.d to properly enable SysV init scripts but we can't rely on
other packages, like sysv-rc, anymore to pull in insserv for us, because
they might not be installed anymore by default.
-- Michael Biebl <biebl@debian.org> Tue, 12 Jul 2016 22:07:16 +0200
init-system-helpers (1.38) unstable; urgency=medium
* Remove dh_systemd_enable and dh_systemd_start. Those helpers will be
shipped by debhelper (>= 9.20160709) from now on. (Closes: #822670)
* Remove systemd2init and related files as we want to make dh-systemd an
empty, transitional package which we can drop eventually.
* Turn dh-systemd into a transitional package pulling in a recent enough
version of debhelper.
-- Michael Biebl <biebl@debian.org> Mon, 11 Jul 2016 18:05:58 +0200
init-system-helpers (1.37) unstable; urgency=medium
* Stop setting POD_MAN_DATE. It was added to support reproducible builds
which is no longer necessary now that pod2man suppors SOURCE_DATE_EPOCH
which is automatically set by dh.
* dh_systemd_enable: Do not mask previous declaration of $service variable.
(Closes: #829278)
-- Michael Biebl <biebl@debian.org> Fri, 08 Jul 2016 17:41:37 +0200
init-system-helpers (1.36) unstable; urgency=medium
[ Martin Pitt ]
* init: Don't depend on sysvinit-core when building on/for Ubuntu and
derivatives.
* init: Drop "essential" from the package description as it is not essential
any more.
* invoke-rc.d: Quiesce error message if "runlevel" does not exist, which is
now the case in chroots since init stopped being essential.
(Closes: #827376)
* update-rc.d: Testing for /etc/init.d/mountkernfs.sh is not sufficient as
initscripts might only be unpacked but not configured yet (during
debootstrap). Thus test if /etc/rcS.d/S??mountkernfs.sh exists. Thanks to
Felipe Sateler for the idea! (Closes: #824804)
* init-system-helpers: Ship README.invoke-rc.d and README.policy-rc.d.
* invoke-rc.d.8: Update the SEE ALSO link to README.policy-rc.d.
(Closes: #358496)
* service.8: Document that this starts systemd units as well.
(Closes: #758139)
* invoke-rc.d: Show "systemctl status" on a failed (re)start if running
under systemd. This makes logs with failed package installations much more
useful, and human users will most likely do exactly that anyway.
(LP: #1596056)
[ Luca Boccassi ]
* dh_systemd_enable: Add support for installing templated service units.
(Closes: #770344)
* dh_systemd_enable: Add support for installing path units.
(Closes: #768609)
-- Martin Pitt <mpitt@debian.org> Tue, 28 Jun 2016 22:10:37 +0200
init-system-helpers (1.35) unstable; urgency=medium
* invoke-rc.d: When running under systemd, query systemctl is-enabled
instead of checking for rc?.d/ links. This allows operation without
sysv-rc with packages that ship native systemd units. Packages which only
ship an init.d script continue to need sysv-rc and runlevels, of course.
(Closes: #827191, LP: #1587903)
-- Martin Pitt <mpitt@debian.org> Sat, 18 Jun 2016 19:14:17 +0200
init-system-helpers (1.34) unstable; urgency=medium
[ Martin Pitt ]
* Make "init" not essential any more and lower priority from "required" to
"important", so that we can drop it from minimal chroots and docker
containers at some point. Explicitly mark init-system-helpers as essential
now (before it was only transitively essential due to init depending on
it). (Closes: #756023)
* Mark init "Important: yes" instead, so that one does not accidentally
uninstall it.
* deb-systemd-invoke: Accept policy-rc.d exit code 0 as "allowed" in
addition to code 104, like invoke-rc.d. (Closes: #825075)
[ Dan Nicholson ]
* deb-systemd-helper, dh_systemd_start: Use split rather than
Text::ParseWords::shellwords since the latter will strip valid \
escapes from unit names. The values then need to have leading and
trailing quotes stripped. (Closes: #820359)
* dh_systemd_enable: Drop unused Text::ParseWords use.
-- Martin Pitt <mpitt@debian.org> Mon, 30 May 2016 15:52:48 +0200
init-system-helpers (1.33) unstable; urgency=medium
* Drop SysV reference from init's short package description, as it's not
specific to SysV init at all.
* Revert the check for failing "runlevel" command. In chroots it is always
failing, so just print out the warning and otherwise ignore the failure as
we've done for many years with the broken check. (Closes: #823611)
-- Martin Pitt <mpitt@debian.org> Fri, 06 May 2016 09:44:05 -0500
init-system-helpers (1.32) unstable; urgency=medium
* dh_systemd_{enable,start}: Quiesce "No such file or directory" error
messages when calling on a package without /lib/systemd/system/.
(Closes: #822710)
* invoke-rc.d: Fix check for failing "runlevel" command.
* 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, see #608456)
-- Martin Pitt <mpitt@debian.org> Thu, 05 May 2016 22:11:26 -0500
init-system-helpers (1.31) unstable; urgency=medium
* Fix FTBFS when building arch specific binaries only.
-- Martin Pitt <mpitt@debian.org> Tue, 26 Apr 2016 17:37:46 +0200
init-system-helpers (1.30) unstable; urgency=medium
[ Felipe Sateler ]
* update-rc.d: Add 'defaults' action to usage message. (Closes: #814666)
* update-rc.d: Do not print 'error:' when passing --help
[ Niels Thykier ]
* dh_systemd_start: Default to -R in compat 10, for consistency with
dh_installinit.
* dh_systemd_*: Do not needlessly traverse the entire package tree.
* dh_systemd_*: Add DH promise to avoid being called for no reason.
* Update Vcs-* fields to use https.
[ Raphaël Hertzog ]
* tests: Support $TEST_ON_REAL_SYSTEM which skips the tmpfs bind mounts, and
use that in the autopkgtest. This provides a more realistic test and
unbreaks operations which communicate with pid1. Also purge metadata in
between tests.
* Prefer calling "systemctl preset" instead of "enable" when available, so
that systemd.preset(5) files are respected by packages. (Closes: #772555)
[ Martin Pitt ]
* Bump Standards-Version to 3.9.8 (no changes necessary).
* Fix "service --version" to show the currrent instead some old hardcoded
version. (Closes: #819984)
* service.8: Document that $PATH is passed to the init script.
(Closes: #619464)
[ Erik Ziegenbalg ]
* dh-systemd: Support enabling of debian/<package>.mount files.
(Closes: #803774)
[ Luca Boccassi ]
* dh-systemd: Support installing .target files. (Closes: #793153)
-- Martin Pitt <mpitt@debian.org> Tue, 26 Apr 2016 10:01:46 +0200
init-system-helpers (1.29+devuan1.0) unstable; urgency=medium
[ Andreas Henriksson ]
* Import invoke-rc.d + update-rc.d from sysvinit 2.88dsf-59.2
* Import service from sysvinit 2.88dsf-59.2
* 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
* Update debian/changelog
* 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
* changelog: refer to #805487 for moving the tools
* releasing package init-system-helpers version 1.25
* Drop upstart as an alternative init dependency
* Conflict to current openrc version <= 0.18.3-1 (Closes: #811662)
* releasing package init-system-helpers version 1.26
* Add debian/clean to remove script/*1.p (Closes: #812586)
* Version the conflict to file-rc
* releasing package init-system-helpers version 1.27
* invoke-rc.d: Fix actions to run under systemd if there is no init.d script
(Closes: #747851)
* invoke-rc.d: Fix start/restart of disabled systemd units (Closes: #768450)
[ 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 ]
* update-rc.d: Support /usr/lib/insserv/insserv location too
* Add autopkgtest
* fix changelog formatting
* Drop Michael Stapelberg and Tollef Fog Heen from Uploaders:
* Run wrap-and-sort -at over our debian control files
* releasing package init-system-helpers version 1.28
[ Michael Biebl ]
* Use the same Maintainer name as in src:systemd
* Bump debhelper compatibility level to 9.
[ Raphael Geissert ]
* invoke-rc.d: Fix behaviour when no start or stop symlink is found
(Closes: #546532)
[ Martin Pitt ]
* invoke-rc.d: Fix chroot install for packages without SysV script
(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 ]
* releasing package init-system-helpers version 1.29
[ Daniel Reurich ]
* merged 1.29 from debian
* releasing package init-system-helpers version 1.29+devuan1.0
-- Daniel Reurich <daniel@centurion.net.nz> Sun, 06 Mar 2016 14:58:19 +0000
init-system-helpers (1.24+devuan1.0) unstable; urgency=medium
* Initial Devuanisation.
* Release +devuan1.0
-- Daniel Reurich <daniel@centurion.net.nz> Mon, 30 Nov 2015 01:20:59 +0000
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 <mpitt@debian.org> Tue, 13 Oct 2015 06:55:44 +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.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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
9 years ago
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.
9 years ago
* deb-systemd-helper: add --quiet
* dh_systemd_enable: add --no-enable
* dh_systemd_start: add --no-start
9 years ago
-- 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
9 years ago
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