Debian Codegraph @

debian/changelog

raw symbols SCIP
1 init-system-helpers (1.69) unstable; urgency=medium
2
3 * Add postinst to hotfix an upgrade bug on certain newly live-installed
4 systems built using Trixie's live-build (Closes: #1111039)
5
6 -- Luca Boccassi <[email protected]> Fri, 15 Aug 2025 19:46:44 +0100
7
8 init-system-helpers (1.68) unstable; urgency=medium
9
10 * Drop no longer needed dependency on usrmerge | usr-is-merged.
11 This was meant as a temporary measure to ensure that the transition to
12 the merged-/usr file system layout is done on upgrades to bookworm.
13
14 -- Michael Biebl <[email protected]> Sun, 29 Dec 2024 14:52:41 +0100
15
16 init-system-helpers (1.67) unstable; urgency=medium
17
18 [ Mark Hindley ]
19 * Don't manually set status symlinks for native openrc-run scripts. For
20 native openrc-run scripts, fiddling with the links before the script
21 is run actually prevents it from running as openrc-run detects the
22 status has been changed and considers the script as already started.
23 (Closes: #1081994)
24
25 [ Luca Boccassi ]
26 * d/control: bump Standards-Version to 4.7.0, no changes
27
28 -- Luca Boccassi <[email protected]> Tue, 17 Sep 2024 17:07:33 +0200
29
30 init-system-helpers (1.66) unstable; urgency=medium
31
32 [ Samuel Thibault ]
33 * Add hurd-amd64 case.
34
35 [ Gioele Barabucci ]
36 * d/init.lintian-overrides: Silence warning about "Important" field
37 `Important: yes` instructs APT to warn the user before removing this
38 package.
39
40 [ Johannes Schauer Marin Rodrigues ]
41 * script/update-rc.d: DPKG_ROOT support for sysvinit
42
43 [ Ansgar ]
44 * Add "Protected: yes" to package "init" The "Protected" field does the
45 same as "Important" already did in apt, but is also understood by dpkg
46 (since dpkg 1.20.1).
47
48 [ Luca Boccassi ]
49 * Bump Standards-Version to 4.6.2, no changes
50 * Override Lintian warning for Protected: yes
51 * deb-systemd-invoke: support reload/reexec. This is useful for the
52 --user case, to provide a shortcut that loops over all active user
53 sessions over D-Bus.
54 * deb-systemd-invoke: support --no-dbus for reload/reexec. Provide
55 common implementation for SIGHUP/SIGRTMIN+25 to reload/reexec the
56 system or user instances.
57
58 -- Luca Boccassi <[email protected]> Sun, 26 Nov 2023 20:42:28 +0000
59
60 init-system-helpers (1.65.2) unstable; urgency=low
61
62 * Undo yet another hostile and baseless NMU.
63
64 -- Luca Boccassi <[email protected]> Sun, 18 Sep 2022 02:53:19 +0100
65
66 init-system-helpers (1.65.1) unstable; urgency=low
67
68 * Undo hostile NMU.
69
70 -- Luca Boccassi <[email protected]> Sun, 18 Sep 2022 01:53:32 +0100
71
72 init-system-helpers (1.65) unstable; urgency=low
73
74 * Upload to unstable.
75
76 -- Luca Boccassi <[email protected]> Sat, 17 Sep 2022 21:11:07 +0100
77
78 init-system-helpers (1.65~exp2) experimental; urgency=medium
79
80 * fakechroot tests: skip on architectures where it is not available
81
82 -- Luca Boccassi <[email protected]> Thu, 15 Sep 2022 21:14:08 +0100
83
84 init-system-helpers (1.65~exp1) experimental; urgency=medium
85
86 [ Luca Boccassi ]
87 * Drop outdated conflict with file-rc
88 * Add myself to Uploaders
89 * d/rules: use execute_after instead of override
90 * Add a dependency on usrmerge | usr-is-merged to complete the
91 transition. As per ctte decision and discussion at:
92 https://lists.debian.org/debian-ctte/2022/07/msg00019.html
93 https://lists.debian.org/debian-ctte/2022/07/msg00061.html
94 https://lists.debian.org/debian-ctte/2022/08/msg00006.html
95
96 [ Victor Westerhuis ]
97 * Make deb-systemd-helper work on template units with DefaultInstance.
98 DefaultInstance only influences the meaning of WantedBy/RequiredBy.
99 Alias and Also are not impacted. This patch does not enable changing
100 template instantiations, so `deb-systemd-helper enable
101 [email protected]` will still fail.
102 * Fix tests depending on ordering of lines in state file. The previous
103 commit changes the order in which lines are written to the state file.
104 Because correctness does not depend on the order in which the state
105 file is written, ignore the order in the test.
106
107 -- Luca Boccassi <[email protected]> Sat, 10 Sep 2022 13:27:16 +0100
108
109 init-system-helpers (1.64) unstable; urgency=medium
110
111 * Team upload.
112 * d-s-h: break infinite recursion on symlinks. (Closes: #1014119)
113 * Bump Standards-Version to 4.6.1, no changes
114 * Update date ranges in d/copyright
115
116 -- Luca Boccassi <[email protected]> Mon, 04 Jul 2022 11:19:08 +0100
117
118 init-system-helpers (1.63) unstable; urgency=medium
119
120 [ Debian Janitor ]
121 * Remove constraints unnecessary since buster
122 * init-system-helpers: Drop versioned constraint on perl-base in Depends.
123 * init: Drop versioned constraint on init-system-helpers in Depends.
124
125 [ Johannes Schauer Marin Rodrigues ]
126 * t/helpers.pm: use installed version of deb-systemd-helper if
127 TEST_INSTALLED is set
128 * add DPKG_ROOT support (Closes: #983421)
129
130 [ Niels Thykier ]
131 * Add additional error checking on write operations.
132 The `close()` call can fail on both read and write - while the read is
133 usually relatively benign, for the write counter part can include "fun"
134 errors. Most of these would most likely be persistent issues, but it makes
135 sense to detect errors as early possible.
136
137 [ Ville Skyttä ]
138 * service: use `grep -F` instead of `egrep`
139 `egrep` and `fgrep` have been deprecated in GNU grep since 2007, and in
140 current post 3.7 Git they have been made to emit obsolescence warnings.
141 The occurrence in `service` uses a non-regex argument, so switch to `grep
142 -F` instead of `-E`.
143
144 -- Michael Biebl <[email protected]> Mon, 23 May 2022 22:48:30 +0200
145
146 init-system-helpers (1.62) unstable; urgency=medium
147
148 * Team upload.
149
150 [ Johannes Schauer Marin Rodrigues ]
151 * use fakechroot instead of unsharing the mount namespace and mounting tmpfs
152
153 [ Luca Boccassi ]
154 * deb-systemd-invoke: systemctl --machine @<UID> is now available in
155 v249.10. Adjust the version check accordingly
156 * Skip build-time tests if DEB_BUILD_OPTIONS=nocheck is set
157 * Fix typos found by Lintian
158 * Set Rules-Requires-Root: no
159
160 -- Luca Boccassi <[email protected]> Tue, 15 Feb 2022 22:32:46 +0000
161
162 init-system-helpers (1.61) unstable; urgency=medium
163
164 * Team upload.
165 * deb-systemd-invoke: add support for starting/stopping units in user
166 instances. Right now if a package adds/removes a user unit, we cannot
167 automatically start it/stop it/restart it. systemd v250 adds the
168 ability to talk to user instances of the manager via the '--machine
169 <ID>@' option. The list of IDs can be queried by wildcard-querying
170 with 'list-units user@*'. Use this to add a --user option and let
171 callers start/stop/restart user units. Print a log message and skip it
172 if systemd < 250.
173 * Bump Standards-Version to 4.6.0, no changes
174
175 -- Luca Boccassi <[email protected]> Wed, 08 Dec 2021 14:42:38 +0000
176
177 init-system-helpers (1.60) unstable; urgency=medium
178
179 * deb-systemd-*, update-rc.d: Don't hard-code path to systemctl binary.
180 This should simplify an eventual move of systemctl from /bin to /usr/bin.
181 * Switch to debhelper-compat and bump compat level to 13
182 * Bump Standards-Version to 4.5.1
183 * Drop obsolete Breaks/Replaces and Conflicts
184 * Remove init-system-helpers.lintian-overrides, no longer needed
185
186 -- Michael Biebl <[email protected]> Mon, 14 Dec 2020 21:19:00 +0100
187
188 init-system-helpers (1.59) unstable; urgency=medium
189
190 * invoke-rc.d: Remove unnecessary systemctl daemon-reload.
191 We have proper support in update-rc.d and debhelper nowadays, which
192 makes this superfluous.
193 * invoke-rc.d,service: Stop using ignore-dependencies.
194 Ignoring dependencies during bootup and shutdown can have undesired
195 side-effects, like changing the ordering of services and ultimately
196 causing them to fail. So drop this hack, which was added to work around
197 issues in hook scripts. We only keep a special case for reload requests,
198 where we schedule those with "no-block" to avoid unnecessary dead-locks.
199 (Closes: #960595)
200
201 -- Michael Biebl <[email protected]> Thu, 19 Nov 2020 23:35:09 +0100
202
203 init-system-helpers (1.58) unstable; urgency=medium
204
205 [ Guilhem Moulin ]
206 * Ensure dh_installsystemduser(1)-added snippets pass piuparts.
207 Claim ownership of /etc/systemd/user (like /etc/systemd/system)
208 and make `deb-systemd-helper --user unmask` remove
209 /var/lib/systemd/deb-systemd-user-helper-masked if empty
210 (like `deb-systemd-helper unmask` does for
211 /var/lib/systemd/deb-systemd-helper-masked).
212 For packages shipping user units installed with dh_installsystemduser(1).
213 (Closes: #964159)
214
215 [ Michael Biebl ]
216 * man: Fix typo in service(8) man page (Closes: #925995)
217 * update-rc.d: Consider /usr/lib/systemd/system when searching for unit files
218
219 -- Michael Biebl <[email protected]> Sun, 05 Jul 2020 11:50:05 +0200
220
221 init-system-helpers (1.57) unstable; urgency=medium
222
223 [ Dmitry Bogatov ]
224 * Document that `service` does not check /usr/sbin/policy-rc.d.
225 It is an administrator interface, so it is meant to be able to start
226 disabled services. (Closes: #656081)
227
228 -- Michael Biebl <[email protected]> Fri, 21 Jun 2019 20:56:55 +0200
229
230 init-system-helpers (1.56) unstable; urgency=medium
231
232 * update-rc.d: If systemctl is available, use it in make_systemd_links.
233 To not create an endless loop, we set SYSTEMCTL_SKIP_SYSV=1 which is
234 respected by systemd-sysv-install since v228. Add a versioned Breaks
235 against systemd accordingly.
236 * man: Fix name field of update-rc.d man page
237 * man: Stop mentioning file-rc in invoke-rc.d man page.
238 The file-rc package has been removed from the archive.
239 * man: Stop mentioning bum and sysv-rc-conf in update-rc.d man page
240 * man: Update bugtracker URLs.
241 invoke-rc.d and update-rc.d are provided by init-system-helpers
242 nowadays. Keep a reference to sysv-rc, for the sysvinit related bits.
243
244 -- Michael Biebl <[email protected]> Thu, 22 Nov 2018 00:15:24 +0100
245
246 init-system-helpers (1.55) unstable; urgency=medium
247
248 [ Ondřej Nový ]
249 * d/control: Deprecating priority extra as per policy 4.0.1
250
251 [ Benda Xu ]
252 * s/update-rc.d: let OpenRC run after sysv_{insserv,plain}
253 Refactorization in 6cb72b59a0a1898939b818d8d2 made rc-update from
254 OpenRC run *before* sysv_{insserv,plain}. OpenRC needs to
255 sychronize with /etc/rc?.d links to maintain consistency and
256 administrator configurations, therefore it has to be executed after
257 them. (Closes: #910444)
258
259 [ Felipe Sateler ]
260 * Fix manpage listings in d/copyright for rst manual pages.
261 The names were not changed correctly when the manpages were rewritten in
262 rst.
263 * Bump Standards-Version (no changes needed)
264
265 -- Felipe Sateler <[email protected]> Wed, 24 Oct 2018 08:31:28 -0300
266
267 init-system-helpers (1.54) unstable; urgency=medium
268
269 * Revert "Drop fallback for old versions of systemd that didn't have
270 is-enabled"
271 If a package ships both init script and systemd service file, the
272 systemd unit will not be enabled by the time invoke-rc.d is called
273 (with current debhelper sequence). This would make systemctl is-enabled
274 report the wrong status, and then the service would not be started.
275 Add a comment noting this to avoid removing again in the future.
276 This reverts commit 6f95680ffc9b1605841eb7d3d8eb92c790e6c73a.
277 (Closes: #906421, #906051)
278
279 -- Felipe Sateler <[email protected]> Fri, 17 Aug 2018 10:33:08 -0300
280
281 init-system-helpers (1.53) unstable; urgency=medium
282
283 * tests: only load Linux::Clone if not testing on real system
284 'use' directive is evaluated at compile time, so having it inside an 'if'
285 statement does not have the expected effect. Use the 'use if' directive instead.
286 This fixes running the autopkgtests in clean systems without Linux::Clone module
287
288 -- Felipe Sateler <[email protected]> Wed, 15 Aug 2018 23:52:53 -0300
289
290 init-system-helpers (1.52) unstable; urgency=medium
291
292 [ Felipe Sateler ]
293 * Change Vcs-* urls to point to the new salsa service
294 * Drop fallback for old versions of systemd that didn't have is-enabled.
295 This reverts commit 0e43de3196a68e59d8a543d1cf7f5b4bfbb27451
296 * invoke-rc.d: add option to do nothing for native systemd units.
297 It is useful to simplify maintainer scripts, since it allows executing
298 this command for sysvinit/openrc
299 systems, and deb-systemd-invoke for systemd systems
300 * Update Standards-Version
301 * deb-systemd-*: Invoke perl interpreter directly in /usr/bin.
302 Do not go through PATH, and avoid possibly using a user-installed
303 interpreter
304 * Bump debhelper compat level to 11
305 * Fix manpage references in d/copyright.
306 They were not updated when the manpages were converted to rst
307 * Replace usage of dpkg-parsechangelog with pkg-info.mk provided by dpkg-dev
308
309 [ Daniele Nicolodi ]
310 * deb-systemd-helper: Fix typo in man page
311 * d/rules: Fix man pages header and footer.
312 Pass options to pod2mn to get correct header and footer content.
313 * deb-systemd-helper: Add comment explaining why 'systemctl preset' is used
314 * tests: Move common setup code and test functions to a new helpers.pm module
315 * tests: Fix setup when TEST_ON_REAL_SYSTEM is not set
316 * tests: Do not require Linux::Clone Perl module if TEST_ON_REAL_SYSTEM is
317 set.
318 If the TEST_ON_REAL_SYSTEM environment variable is set, the bind
319 mounting of empty directories not top of system difrectoried affected
320 by the tests is skipt. Therefore, there is no need to isolate the
321 tests in a mount namespace.
322 * tests: Make sure that the tests do not clutter the host system.
323 In the mount namespace created for the tests, remount the root
324 filesystem read-only. To be able to create temporary files and
325 directories, mount a tmpfs on /tmp.
326 * autopkgtests: Drop seteup steps that are not required anymore
327 * deb-systemd-helper: Implement user instance's service handling
328 * tests: Add tests for user instance's service handling
329 * tests: Make calling 'deb-systemd-helper' in tests less verbose.
330 Removing the shell interposition in the system() calls avoids edge
331 cases in parameters handling (there were places where the randomly
332 generated unit names were not correctly quoted) and speeds up tests
333 execution.
334 * tests: Check that the root filesystemd has been marked private
335
336 -- Felipe Sateler <[email protected]> Sun, 12 Aug 2018 10:19:38 -0300
337
338 init-system-helpers (1.51) unstable; urgency=high
339
340 [ Michael Biebl ]
341 * Drop obsolete debian/init-system-helpers.postinst
342 * Drop man page translations for update-rc.d.
343 Those are outdated and not installed anyway.
344
345 [ Felipe Sateler ]
346 * Fix errors in pod2man invocations.
347 Catch errors when building pod manpages, and stop trying to build
348 documentation for the debhelper tools
349 * Convert manpages into reStructuredText
350 * update-rc.d: fix typo that was disabling all sysv scripts in defaults mode
351 (Closes: #879771).
352
353 -- Felipe Sateler <[email protected]> Wed, 25 Oct 2017 12:38:42 -0300
354
355 init-system-helpers (1.50) unstable; urgency=medium
356
357 [ Steve Langasek ]
358 * autopkgtests: Correctly handle unit names that can contain escape sequences.
359 They need to be quoted so that the shell does not parse them.
360 (Closes: #873789)
361
362 [ Felipe Sateler ]
363 * Refactor internals of update-rc.d
364 - Refactor actions into a sequence of steps according to the installed
365 init systems. This makes plugging new init systems or new actions
366 easier.
367 * Add vim modelines for file type
368 * update-rc.d: remove -n (dryrun) option, as it did not work.
369 Given that nobody complained, lets just remove it. (Closes: #856415)
370 * update-rc.d: Add a defaults-disabled action.
371 It allows installing a service but disabled. (Closes: #857452)
372 * Briefly document defaults-disabled
373
374 -- Felipe Sateler <[email protected]> Thu, 12 Oct 2017 20:16:13 -0300
375
376 init-system-helpers (1.49) unstable; urgency=low
377
378 [ Felipe Sateler ]
379 * Upload to unstable. Urgency low due to large changeset.
380 * d-s-invoke: Execute systemctl once when starting units.
381 This ensures systemd itself can order them the best way it sees fit.
382 (Closes: #848192)
383 * update-rc.d: check that /etc/insserv.conf exists before invoking insserv.
384 It might happen that the binary exists but the configuration file doesn't,
385 and then the insserv invocation will fail. Therefore don't consider insserv
386 installed until the configuration file exists.
387 Thanks to Petter Reinholdtsen for the patch. (Closes: #849284)
388 * Bump Standards-Version
389
390 [ Iain Lane ]
391 * invoke-rc.d: Pass --full to `systemctl status', so we don't get ellipsised
392 output.
393
394 [ Michael Biebl ]
395 * Drop support for upstart
396
397 -- Felipe Sateler <[email protected]> Mon, 17 Jul 2017 12:27:32 -0400
398
399 init-system-helpers (1.48) unstable; urgency=medium
400
401 * Team upload
402 * [fbabdc8] Handle units with escaped characters correctly.
403 See
404 https://www.freedesktop.org/software/systemd/man/systemd-escape.html
405 for details. (Closes: #861204)
406
407 -- Bernd Zeimetz <[email protected]> Tue, 02 May 2017 12:20:21 +0200
408
409 init-system-helpers (1.47) unstable; urgency=medium
410
411 [ Christian Hofstaedtler ]
412 * Align policy-rc.d existing/nonexisting case for custom actions.
413 Previously, when calling invoke-rc.d with a "custom" action, it
414 would print an error when a policy-rc.d file was installed, but
415 it would be silent if no such file was installed. (Closes: #728682)
416
417 [ Andreas Henriksson ]
418 * Do policy-rc.d automatically in init-less chroots.
419 See #838966 and #838997 for background.
420 A debootstrap with --variant=minbase will have lsb-base installed,
421 so the person running into this issue must have:
422 - not added a policy-rc.d in his init-less chroot
423 - removed lsb-base manually (and what else?)
424 This patch auto-detects the situation with init-less chroot that's
425 missing a policy-rc.d and deals with it automatically (plus gives
426 a warning message). (Closes: #843761)
427
428 [ Ondřej Nový ]
429 * Add try-restart action.
430 See #851688
431
432 [ Felipe Sateler ]
433 * Make init depend on a new enough init-system-helpers.
434 In jessie, update-rc.d/invoke-rc.d/service are shipped by sysv-rc.
435 They got moved to init-system-helpers after that, so make sure we
436 have the new versions to ensure the scripts are available.
437 This dependency can probably be dropped after stretch is released.
438 * update-rc.d: allow trailing whitespace in LSB header delimiters.
439 It is a hard to diagnose condition because trailing spaces are
440 invisible in most editors. Moreover, all the other parsers (systemd,
441 insserv) allow such trailing space. (Closes: #851730)
442
443 -- Felipe Sateler <[email protected]> Wed, 18 Jan 2017 10:17:07 -0300
444
445 init-system-helpers (1.46) unstable; urgency=medium
446
447 * Drop dh-systemd transitional package.
448 It is now provided by debhelper (Closes: #841914)
449 * Add a meaningful short description to init metapackage
450 * Document copyright of things lifted from pkg:sysvinit (Closes: #839545)
451 * Use https url for copyright format
452
453 -- Felipe Sateler <[email protected]> Sun, 06 Nov 2016 17:02:00 -0300
454
455 init-system-helpers (1.45) unstable; urgency=medium
456
457 * Revert "invoke-rc.d, service: Asynchronously reload systemd units"
458 This caused fallout at least in the autopkgtests of two packages, possibly many
459 more, thus could also break assumptions in more important environments, and was
460 just a defensive move, not a bug fix.
461 This reverts commit 9cfb6dfed4a38b7c3d8b7fd04a7681690049e424.
462
463 -- Martin Pitt <[email protected]> Tue, 20 Sep 2016 16:27:43 +0200
464
465 init-system-helpers (1.44) unstable; urgency=medium
466
467 * invoke-rc.d, service: Check for multi-user.target instead of
468 graphical.target. There is a curious bug which sometimes causes
469 "systemctl is-active default.target" to say inactive until "show" or
470 "status" gets called on the unit. This needs to be investigated. Until
471 then, check for multi-user.target which by and large does the same job,
472 but seems to work reliably.
473
474 -- Martin Pitt <[email protected]> Mon, 12 Sep 2016 22:52:23 +0200
475
476 init-system-helpers (1.43) unstable; urgency=medium
477
478 [ Felipe Sateler ]
479 * Add /etc/rc?.d to the dirs shipped by init-system-helpers.
480 (Closes: #834524)
481
482 [ Martin Pitt ]
483 * invoke-rc.d, service: Only ignore systemd unit dependencies before
484 default.target. "systemctl is-system-running" might still be false in case
485 of running jobs for device/mount/hotplug/dynamic actions units. But in
486 those cases we already do want to respect unit dependencies, as the system
487 is booted up sufficiently to avoid dependency loops. Fixes installation of
488 packages like PostgreSQL under cloud-init or when manually installing
489 packages right after booting. (LP: #1576692)
490 * invoke-rc.d, service: Asynchronously reload systemd units.
491 Reloading SysV init scripts has never been synchronous, so use --no-block
492 to reload them under systemd. This is another, and a better, line of
493 defence against if-up.d hook deadlocks during boot (see
494 https://bugs.debian.org/777113).
495
496 -- Martin Pitt <[email protected]> Mon, 12 Sep 2016 09:35:28 +0200
497
498 init-system-helpers (1.42) unstable; urgency=medium
499
500 [ Michael Biebl ]
501 * init-system-helpers: Include insserv package state when filing a bug.
502 This makes it easier to figure out if the fallback code in update-rc.d
503 was used or not.
504
505 [ Felipe Sateler ]
506 * Add myself to uploaders
507 * update-rc.d: preserve S/K links when insserv is not installed.
508 If there are any links, preserve them. In fallback mode we don't care
509 about the number encoded, but we do care about the S/K state. So instead
510 of trying to renumber back to 01, preserve the actually existing links.
511 This also fixes a bug that could cause multiple enable links to be
512 created for a single service. (Closes: #832945)
513
514 -- Felipe Sateler <[email protected]> Sat, 30 Jul 2016 17:04:28 -0400
515
516 init-system-helpers (1.41) unstable; urgency=medium
517
518 * update-rc.d: Properly handle enable|disable for SysV init scripts if
519 insserv is not available. (Closes: #832582)
520
521 -- Michael Biebl <[email protected]> Wed, 27 Jul 2016 11:42:54 +0200
522
523 init-system-helpers (1.40) unstable; urgency=medium
524
525 [ Martin Pitt ]
526 * update-rc.d: Add fallback if insserv is not available.
527 If insserv is not available, we are either under systemd or a chroot,
528 where the rc?.d/ link priorities don't matter, so create the
529 /etc/rc?.d/[SK]01<name> links with a hardcoded "01" priority.
530 Drop insserv dependency again.
531 * invoke-rc.d: Add SysV fallback for "systemctl is-enabled".
532 Version 1.35 switched to "systemctl is-enabled" to determine if a service
533 is enabled. This also has worked for SysV init scripts since systemd 220-1
534 (via the systemd-sysv-install wrapper), but does not yet work under
535 Jessie's systemd 215. Add a fallback to checking runlevel symlinks (for
536 any runlevel) to fix upgrades where init-system-helpers gets upgraded
537 before systemd, and to make i-s-h backportable to Jessie.
538 (Closes: #830982)
539
540 [ Michael Biebl ]
541 * invoke-rc.d: Drop fallback code for ancient upstart versions.
542 Even wheezy ships a version >= 0.9.7.
543 * invoke-rc.d: Only consider the enabled-state for start and restart.
544 We should not deny other actions, like status, stop or reload on
545 disabled services.
546 * invoke-rc.d: Don't check the enabled state twice.
547 On start|restart we already enforce the local policy and RC will be set
548 to 101, if the service was disabled.
549 Also, checking for the output of "systemctl --quiet is-enabled" is
550 problematic, as it is currently broken for non-native services [1].
551 So drop it completely.
552 [1] https://github.com/systemd/systemd/issues/3813
553 * invoke-rc.d: Allow restarting disabled-but-running services.
554 Restart services that are disabled but have been started manually.
555 A start request for a running service is a nop under systemd, so we
556 don't need to handle start and restart separately.
557
558 -- Michael Biebl <[email protected]> Tue, 26 Jul 2016 22:44:01 +0200
559
560 init-system-helpers (1.39) unstable; urgency=medium
561
562 * Add an explicit dependency on insserv. For now we still need insserv in
563 update-rc.d to properly enable SysV init scripts but we can't rely on
564 other packages, like sysv-rc, anymore to pull in insserv for us, because
565 they might not be installed anymore by default.
566
567 -- Michael Biebl <[email protected]> Tue, 12 Jul 2016 22:07:16 +0200
568
569 init-system-helpers (1.38) unstable; urgency=medium
570
571 * Remove dh_systemd_enable and dh_systemd_start. Those helpers will be
572 shipped by debhelper (>= 9.20160709) from now on. (Closes: #822670)
573 * Remove systemd2init and related files as we want to make dh-systemd an
574 empty, transitional package which we can drop eventually.
575 * Turn dh-systemd into a transitional package pulling in a recent enough
576 version of debhelper.
577
578 -- Michael Biebl <[email protected]> Mon, 11 Jul 2016 18:05:58 +0200
579
580 init-system-helpers (1.37) unstable; urgency=medium
581
582 * Stop setting POD_MAN_DATE. It was added to support reproducible builds
583 which is no longer necessary now that pod2man suppors SOURCE_DATE_EPOCH
584 which is automatically set by dh.
585 * dh_systemd_enable: Do not mask previous declaration of $service variable.
586 (Closes: #829278)
587
588 -- Michael Biebl <[email protected]> Fri, 08 Jul 2016 17:41:37 +0200
589
590 init-system-helpers (1.36) unstable; urgency=medium
591
592 [ Martin Pitt ]
593 * init: Don't depend on sysvinit-core when building on/for Ubuntu and
594 derivatives.
595 * init: Drop "essential" from the package description as it is not essential
596 any more.
597 * invoke-rc.d: Quiesce error message if "runlevel" does not exist, which is
598 now the case in chroots since init stopped being essential.
599 (Closes: #827376)
600 * update-rc.d: Testing for /etc/init.d/mountkernfs.sh is not sufficient as
601 initscripts might only be unpacked but not configured yet (during
602 debootstrap). Thus test if /etc/rcS.d/S??mountkernfs.sh exists. Thanks to
603 Felipe Sateler for the idea! (Closes: #824804)
604 * init-system-helpers: Ship README.invoke-rc.d and README.policy-rc.d.
605 * invoke-rc.d.8: Update the SEE ALSO link to README.policy-rc.d.
606 (Closes: #358496)
607 * service.8: Document that this starts systemd units as well.
608 (Closes: #758139)
609 * invoke-rc.d: Show "systemctl status" on a failed (re)start if running
610 under systemd. This makes logs with failed package installations much more
611 useful, and human users will most likely do exactly that anyway.
612 (LP: #1596056)
613
614 [ Luca Boccassi ]
615 * dh_systemd_enable: Add support for installing templated service units.
616 (Closes: #770344)
617 * dh_systemd_enable: Add support for installing path units.
618 (Closes: #768609)
619
620 -- Martin Pitt <[email protected]> Tue, 28 Jun 2016 22:10:37 +0200
621
622 init-system-helpers (1.35) unstable; urgency=medium
623
624 * invoke-rc.d: When running under systemd, query systemctl is-enabled
625 instead of checking for rc?.d/ links. This allows operation without
626 sysv-rc with packages that ship native systemd units. Packages which only
627 ship an init.d script continue to need sysv-rc and runlevels, of course.
628 (Closes: #827191, LP: #1587903)
629
630 -- Martin Pitt <[email protected]> Sat, 18 Jun 2016 19:14:17 +0200
631
632 init-system-helpers (1.34) unstable; urgency=medium
633
634 [ Martin Pitt ]
635 * Make "init" not essential any more and lower priority from "required" to
636 "important", so that we can drop it from minimal chroots and docker
637 containers at some point. Explicitly mark init-system-helpers as essential
638 now (before it was only transitively essential due to init depending on
639 it). (Closes: #756023)
640 * Mark init "Important: yes" instead, so that one does not accidentally
641 uninstall it.
642 * deb-systemd-invoke: Accept policy-rc.d exit code 0 as "allowed" in
643 addition to code 104, like invoke-rc.d. (Closes: #825075)
644
645 [ Dan Nicholson ]
646 * deb-systemd-helper, dh_systemd_start: Use split rather than
647 Text::ParseWords::shellwords since the latter will strip valid \
648 escapes from unit names. The values then need to have leading and
649 trailing quotes stripped. (Closes: #820359)
650 * dh_systemd_enable: Drop unused Text::ParseWords use.
651
652 -- Martin Pitt <[email protected]> Mon, 30 May 2016 15:52:48 +0200
653
654 init-system-helpers (1.33) unstable; urgency=medium
655
656 * Drop SysV reference from init's short package description, as it's not
657 specific to SysV init at all.
658 * Revert the check for failing "runlevel" command. In chroots it is always
659 failing, so just print out the warning and otherwise ignore the failure as
660 we've done for many years with the broken check. (Closes: #823611)
661
662 -- Martin Pitt <[email protected]> Fri, 06 May 2016 09:44:05 -0500
663
664 init-system-helpers (1.32) unstable; urgency=medium
665
666 * dh_systemd_{enable,start}: Quiesce "No such file or directory" error
667 messages when calling on a package without /lib/systemd/system/.
668 (Closes: #822710)
669 * invoke-rc.d: Fix check for failing "runlevel" command.
670 * invoke-rc.d: Under systemd, "runlevel" only switches to 3 or 5 when
671 multi-user.target/graphical.target have been reached, not before.
672 Adjust the runlevel check accordingly. This is only relevant for the check
673 for wrong/dangling rcN.d/ symlinks, so just pin it to "5" (the precise
674 value does not matter much). Fixing this in systemd requires bigger
675 architectural changes, so use this tiny (and backportable) bandaid for the
676 time being. (LP: #1575572, see #608456)
677
678 -- Martin Pitt <[email protected]> Thu, 05 May 2016 22:11:26 -0500
679
680 init-system-helpers (1.31) unstable; urgency=medium
681
682 * Fix FTBFS when building arch specific binaries only.
683
684 -- Martin Pitt <[email protected]> Tue, 26 Apr 2016 17:37:46 +0200
685
686 init-system-helpers (1.30) unstable; urgency=medium
687
688 [ Felipe Sateler ]
689 * update-rc.d: Add 'defaults' action to usage message. (Closes: #814666)
690 * update-rc.d: Do not print 'error:' when passing --help
691
692 [ Niels Thykier ]
693 * dh_systemd_start: Default to -R in compat 10, for consistency with
694 dh_installinit.
695 * dh_systemd_*: Do not needlessly traverse the entire package tree.
696 * dh_systemd_*: Add DH promise to avoid being called for no reason.
697 * Update Vcs-* fields to use https.
698
699 [ Raphaël Hertzog ]
700 * tests: Support $TEST_ON_REAL_SYSTEM which skips the tmpfs bind mounts, and
701 use that in the autopkgtest. This provides a more realistic test and
702 unbreaks operations which communicate with pid1. Also purge metadata in
703 between tests.
704 * Prefer calling "systemctl preset" instead of "enable" when available, so
705 that systemd.preset(5) files are respected by packages. (Closes: #772555)
706
707 [ Martin Pitt ]
708 * Bump Standards-Version to 3.9.8 (no changes necessary).
709 * Fix "service --version" to show the currrent instead some old hardcoded
710 version. (Closes: #819984)
711 * service.8: Document that $PATH is passed to the init script.
712 (Closes: #619464)
713
714 [ Erik Ziegenbalg ]
715 * dh-systemd: Support enabling of debian/<package>.mount files.
716 (Closes: #803774)
717
718 [ Luca Boccassi ]
719 * dh-systemd: Support installing .target files. (Closes: #793153)
720
721 -- Martin Pitt <[email protected]> Tue, 26 Apr 2016 10:01:46 +0200
722
723 init-system-helpers (1.29) unstable; urgency=medium
724
725 [ Michael Biebl ]
726 * Bump debhelper compatibility level to 9.
727
728 [ Raphael Geissert ]
729 * invoke-rc.d: Fix behaviour when no start or stop symlink is found.
730 Although update-rc.d(8) says that it is a common administration error to
731 delete a start symlink instead of renaming it to make it a stop symlink,
732 the default behaviour of invoke-rc.d in that case is not sensible, and
733 leads to the init script being executed. (Closes: #546532)
734
735 [ Martin Pitt ]
736 * invoke-rc.d: Fix package installation failure when installing a package
737 with an upstart script and systemd unit, but no SysV script in a chroot.
738 (LP: #1543051)
739
740 [ Felipe Sateler ]
741 * update-rc.d: Ensure insserv doesn't fail if initscripts is not installed
742 (Closes: #806438)
743
744 [ Benda Xu ]
745 * script/invoke-rc.d: Add OpenRC support.
746 * script/update-rc.d: Add OpenRC support.
747
748 -- Martin Pitt <[email protected]> Mon, 29 Feb 2016 13:24:34 +0100
749
750 init-system-helpers (1.28) unstable; urgency=medium
751
752 [ Martin Pitt ]
753 * invoke-rc.d: Fix actions to run under systemd if there is no init.d
754 script. (Closes: #747851)
755 * invoke-rc.d: Don't start systemd units which are disabled. Restart them
756 only if they were already running (i. e. started manually by the admin).
757 (Closes: #768450)
758 * update-rc.d: Support /usr/lib/insserv/insserv location too, as with
759 newer sysvinit versions.
760 * Add autopkgtest which runs the tests in t/.
761 * Drop Michael Stapelberg and Tollef Fog Heen from Uploaders:, they stopped
762 systemd work long ago. Thanks for your great work in the past!
763 * Run wrap-and-sort -at over our debian control files.
764
765 [ Andreas Henriksson ]
766 * Add support for -X option. (Closes: #760168)
767
768 [ Michael Biebl ]
769 * invoke-rc.d: Allow stop and status requests for masked systemd services.
770 (Closes: #717109)
771
772 -- Martin Pitt <[email protected]> Fri, 05 Feb 2016 12:30:53 +0100
773
774 init-system-helpers (1.27) unstable; urgency=high
775
776 Urgency high to not further delay the sysvinit migration to testing, and to
777 avoid this going into testing with breaking file-rc.
778
779 [ Martin Pitt ]
780 * Add debian/clean to remove script/*1.p. (Closes: #812586)
781 * Version the conflict to file-rc, 0.8.17 now works fine with the moved
782 update-rc.d and invoke-rc.d.
783
784 -- Martin Pitt <[email protected]> Tue, 26 Jan 2016 11:35:49 +0100
785
786 init-system-helpers (1.26) unstable; urgency=medium
787
788 * Drop upstart as an alternative init dependency, as the package got
789 removed.
790 * Conflict to current openrc version <= 0.18.3-1, to stop the upgrade before
791 running into the update-rc.d file conflict. (Closes: #811662)
792 This assumes that the next openrc upload diverts update-rc.d
793 (see #811708).
794
795 -- Martin Pitt <[email protected]> Fri, 22 Jan 2016 16:02:24 +0100
796
797 init-system-helpers (1.25) unstable; urgency=medium
798
799 [ Andreas Henriksson ]
800 * Import invoke-rc.d + update-rc.d from sysvinit 2.88dsf-59.2
801 (see #805487)
802 * Import service from sysvinit 2.88dsf-59.2
803 * Move service files into non-specific subdirectory
804 * init-system-helpers: Ship invoke-rc.d, update-rc.d and service
805 * Only pod2man init-system-helpers script for now
806 * update-rc.d: drop old fallback path for insserv
807 * update-rc.d: only use insserv if available
808 * Raise init-system-helpers Priority to required
809
810 [ Martin Pitt ]
811 * Update i-s-h package description to describe the newly moved tools.
812 * Make init depend on init-system-helpers, to ensure the availability of
813 invoke-rc.d and update-rc.d if/once sysvinit-utils becomes non-essential.
814
815 -- Martin Pitt <[email protected]> Mon, 18 Jan 2016 15:13:20 +0100
816
817 init-system-helpers (1.24) unstable; urgency=medium
818
819 [ Helmut Grohne ]
820 * Fix FTCBFS: Annotate perl dependency with :any. (Closes: #794339)
821
822 [ Reiner Herrmann ]
823 * dh_systemd_{enable,start}: Sort list of unit files, to make generated
824 maintainer scripts reproducible. (Closes: #801470)
825
826 -- Martin Pitt <[email protected]> Tue, 13 Oct 2015 06:55:44 +0200
827
828 init-system-helpers (1.23) unstable; urgency=medium
829
830 [ Didier Roche ]
831 * deb-system-invoke: don't start disabled systemd services (in case
832 of systemd only services), when there is no init script. (Closes: #768456)
833 Add some conditions to start the job on deb-system-invoke [restart|start],
834 during package upgrade:
835 - deb-system-invoke start <unit> doesn't do anything on systemd if the
836 unit is disabled or static.
837 - deb-system-invoke restart <unit> only restarts a disabled or static unit
838 if the daemon was already running (forced by the admin).
839 - in case of multiple units in error passed to deb-system-invoke, this one
840 will exit with last unit in errror exit code.
841
842 [ Martin Pitt ]
843 * t/001-deb-systemd-helper.t: Verify that the commands exit successfully.
844 * t/001-deb-systemd-helper.t: Add tests for Alias= handling.
845 * t/001-deb-systemd-helper.t: Add tests for Alias and mask handling with
846 uninstalled .service file (as in package postrm scripts).
847 * deb-systemd-helper: Ignore Also= and Alias= referring to itself, and avoid
848 mask symlink creation errors on systems where units with those have
849 already been installed. Add corresponding test to
850 001-deb-systemd-helper.t. (LP: #1439793)
851 * init: Add ${misc:Depends} dependency to quiesce lintian.
852 * Bump Standards-Version to 3.9.6 (no changes necessary).
853 * debian/copyright: Fix short license name for BSD-3-clause.
854 * Add myself to Uploaders: (member of pkg-systemd-maintainers)
855
856 [ Jérémy Bobbio ]
857 * Make the package build reproducibly by using latest entry in
858 debian/changelog to set the manpages date. (Closes: #782855)
859
860 [ Dimitri John Ledkov ]
861 * Mark "init" metapackage Multi-Arch: foreign. (Closes: #756026)
862
863 -- Martin Pitt <[email protected]> Tue, 28 Apr 2015 15:05:44 +0200
864
865 init-system-helpers (1.22) unstable; urgency=medium
866
867 * Depend on perl-base instead of perl (Closes: #757891)
868
869 -- Michael Stapelberg <[email protected]> Mon, 17 Nov 2014 20:47:58 +0100
870
871 init-system-helpers (1.21) unstable; urgency=medium
872
873 * Demote augeas-tools to Suggests and let the systemd2init tool error out
874 if /usr/bin/augtool is not installed. Packages which want to make use of
875 systemd2init will have to depend on augeas-tools themselves.
876 * Switch the default init system to systemd-sysv on Linux as per #727708.
877
878 -- Michael Biebl <[email protected]> Thu, 21 Aug 2014 07:40:41 +0200
879
880 init-system-helpers (1.20) unstable; urgency=medium
881
882 [ Michael Stapelberg ]
883 * Add systemd2init tool which can be used to generate SysV init scripts from
884 systemd .service files. The systemd2init tool requires Augeas, so add a
885 Depends on augeas-tools to dh-systemd. (Closes: #741252)
886 Maintained by Ondřej Surý <[email protected]>
887 * Clarify dh_systemd_enable documentation (Thanks Michael Meskes for the
888 patch).
889
890 [ Michael Biebl ]
891 * Add new "init" metapackage which ensures that an init system is installed
892 at all times. For now the default is still sysvinit-core.
893
894 -- Michael Biebl <[email protected]> Thu, 24 Jul 2014 23:49:57 +0200
895
896 init-system-helpers (1.19) unstable; urgency=medium
897
898 * Use try-restart only on upgrades, start after initial installation
899 (Closes: #750404)
900 * improve error message wording (Closes: #750986)
901 * dh_systemd_enable: document the --name option (Closes: #750992)
902
903 -- Michael Stapelberg <[email protected]> Sat, 14 Jun 2014 13:17:57 +0200
904
905 init-system-helpers (1.18) unstable; urgency=low
906
907 * d-s-h: add “purge” verb, use it in autoscripts. (Closes: #721244)
908
909 -- Michael Stapelberg <[email protected]> Tue, 25 Feb 2014 19:36:18 +0100
910
911 init-system-helpers (1.17) unstable; urgency=low
912
913 * d-s-h: don’t error out when masking a service is not possible because
914 /etc/systemd/system/<service> already exists (but is not a symlink).
915 (Closes: #739090)
916
917 -- Michael Stapelberg <[email protected]> Tue, 18 Feb 2014 20:52:20 +0100
918
919 init-system-helpers (1.16) unstable; urgency=low
920
921 * Don’t delete /etc/systemd/, only the hierarchy below /etc/systemd/system/.
922 This is necessary to fix piuparts warnings since we ship
923 /etc/systemd/system since i-s-h 1.15 (Thanks Andreas Beckmann).
924
925 -- Michael Stapelberg <[email protected]> Mon, 17 Feb 2014 20:32:54 +0100
926
927 init-system-helpers (1.15) unstable; urgency=low
928
929 * ship /etc/systemd/system to avoid piuparts warnings
930 * d-s-h: add spaces to allow the manpage to break lines with MANWIDTH=80
931 * i-s-h: override lintian warning spelling-error-in-manpage, we cannot
932 rename the upstream command “systemctl reenable” into “re-enable”
933 * bump standards-version to 3.9.5 (no changes necessary)
934
935 -- Michael Stapelberg <[email protected]> Fri, 07 Feb 2014 20:18:34 +0100
936
937 init-system-helpers (1.14) unstable; urgency=low
938
939 * dh_systemd: treat symlinks like aliases (Closes: #731803)
940
941 -- Michael Stapelberg <[email protected]> Wed, 25 Dec 2013 14:35:55 +0100
942
943 init-system-helpers (1.13) unstable; urgency=low
944
945 * d-s-h: cleanup state directory on unmask (for piuparts)
946
947 -- Michael Stapelberg <[email protected]> Wed, 06 Nov 2013 19:10:45 +0100
948
949 init-system-helpers (1.12) unstable; urgency=low
950
951 * dh_systemd: lower generated dependency from 1.11 to 1.11~
952 * d-s-h: Don’t print action(s) to stderr, no news are good news
953 (Closes: #723727)
954
955 -- Michael Stapelberg <[email protected]> Mon, 04 Nov 2013 19:52:10 +0100
956
957 init-system-helpers (1.11) unstable; urgency=low
958
959 * dh_systemd_enable: unmask service on purge to not leave the mask sylink
960 behind (Closes: #723759)
961
962 -- Michael Stapelberg <[email protected]> Fri, 20 Sep 2013 16:27:46 +0200
963
964 init-system-helpers (1.10) unstable; urgency=low
965
966 * Bugfix: check whether /var/lib/systemd/deb-systemd-helper-enabled exists
967 (Thanks Alf Gaida) (Closes: #723693)
968 * d-s-h: Fix mask/unmask implementation (Thanks Michael Biebl)
969 (Closes: #714903)
970
971 -- Michael Stapelberg <[email protected]> Thu, 19 Sep 2013 02:13:14 +0000
972
973 init-system-helpers (1.9) unstable; urgency=low
974
975 * dh_systemd_enable: document debian/package.{service,tmpfile}
976 * Bugfix: create files with permission 0644 (Closes: #722524)
977 * dh_systemd_enable: skip unit files without an [Install] section
978 (Closes: #721241)
979 * d-s-h: implement mask and unmask commands
980 * update maintscripts to mask a service while removed (but not purged)
981 (Closes: #722521, #714903)
982
983 -- Michael Stapelberg <[email protected]> Wed, 18 Sep 2013 04:46:06 +0200
984
985 init-system-helpers (1.8) unstable; urgency=low
986
987 * Add test suite (development-time, not build-time)
988 * deb-systemd-helper: implement was-enabled, debian-installed, update-state
989 * deb-systemd-helper: update files atomically to be more robust when being
990 cancelled
991 * dh_systemd_enable: deal with changes to the [Install] section
992 (Closes: #717603)
993
994 -- Michael Stapelberg <[email protected]> Wed, 24 Jul 2013 22:43:08 +0200
995
996 init-system-helpers (1.7) unstable; urgency=low
997
998 * Drop dependency on libmodule-install-perl to make it easier to have this
999 package in Ubuntu (Thanks Jeremy Bicha) (Closes: #716929)
1000
1001 -- Michael Stapelberg <[email protected]> Tue, 16 Jul 2013 23:53:28 +0200
1002
1003 init-system-helpers (1.6) unstable; urgency=low
1004
1005 * Fix syntax error in dh_systemd_start (Closes: #716946)
1006
1007 -- Michael Stapelberg <[email protected]> Mon, 15 Jul 2013 17:49:57 +0200
1008
1009 init-system-helpers (1.5) unstable; urgency=low
1010
1011 * deb-systemd-helper: clean up /var/lib/systemd/deb-systemd-helper-enabled
1012 and /etc/systemd to pass a piuparts run.
1013 * deb-systemd-helper: add --quiet
1014 * dh_systemd_enable: add --no-enable
1015 * dh_systemd_start: add --no-start
1016
1017 -- Michael Stapelberg <[email protected]> Sun, 14 Jul 2013 21:53:26 +0200
1018
1019 init-system-helpers (1.4) unstable; urgency=low
1020
1021 * deb-systemd-helper: ensure state directory exists before writing to it
1022 (Thanks uau, bigon) (Closes: #714265)
1023
1024 -- Michael Stapelberg <[email protected]> Thu, 27 Jun 2013 18:28:36 +0200
1025
1026 init-system-helpers (1.3) unstable; urgency=low
1027
1028 * deb-systemd-helpe): replicate /etc/systemd/system in state dir
1029 * deb-systemd-helper: delete state file on remove if user didn’t disable
1030 service
1031 * deb-systemd-helper: always store .dsh-also state, not only when creating
1032 links
1033 * add deb-systemd-invoke, a wrapper which respects (basic) policy-rc.d
1034
1035 -- Michael Stapelberg <[email protected]> Wed, 19 Jun 2013 19:44:59 +0200
1036
1037 init-system-helpers (1.2) unstable; urgency=low
1038
1039 * split dh_systemd into dh_systemd_start and dh_systemd_enable. This makes
1040 each helper much easier and allows us to do the right thing — we need to
1041 run parts of the code _before_ dh_installinit and parts of the code
1042 _afterwards_.
1043 * deb-systemd-helper: only remove state file on purge.
1044 * deb-systemd-helper: store state about which units were enabled in addition
1045 to the specified one. This allows us to drop Also= and Alias= units from
1046 the call to deb-systemd-helper and behave more like systemctl.
1047
1048 -- Michael Stapelberg <[email protected]> Tue, 18 Jun 2013 23:38:45 +0200
1049
1050 init-system-helpers (1.1) unstable; urgency=low
1051
1052 * deb-systemd-helper: also store enable state for already enabled units
1053 * add dh-systemd package which contains the dh_systemd debhelper add-on
1054
1055 -- Michael Stapelberg <[email protected]> Tue, 11 Jun 2013 23:32:02 +0200
1056
1057 init-system-helpers (1.0) unstable; urgency=low
1058
1059 * Initial release
1060
1061 -- Michael Stapelberg <[email protected]> Sun, 05 May 2013 11:25:48 +0200