Publishing details

Changelog

init-system-helpers (1.48+devuan2.0~ubuntu16.04.1~ppa1) xenial; urgency=medium

  * No-change backport to xenial

init-system-helpers (1.48+devuan2.0) unstable; urgency=medium

  * Bump changelog for Devuan

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)

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)

init-system-helpers (1.46+devuan1.0) unstable; urgency=medium

  * re-add newline between source and package stanza
  * merge 1.46 from debian

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

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.

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.

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).

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)

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)

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.

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.

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.

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)

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)

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)

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.

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)

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)

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

  * Fix FTBFS when building arch specific binaries only.

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)

init-system-helpers (1.29+devuan1.0) unstable; urgency=medium

  * 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

 -- tanyuliang2 <email address hidden>  Sat, 02 Mar 2019 19:51:05 +0800

Available diffs

Builds

Built packages

Package files