Bug#826214: Bug#913247: Please provide a C implementation of /lib/init/init-d-script

Michael Biebl biebl at debian.org
Fri Nov 23 00:24:07 GMT 2018


Hi

On Thu, 22 Nov 2018 16:01:33 +0000 Ian Jackson
<ijackson at chiark.greenend.org.uk> wrote:

> To the systemd maintainers: will you have time to look at this, and
> make the appropriate change, soon ?  If not then one of us could
> probably prepare a patch, if that would be helpful.

A patch for 40-systemd would be highly appreciated [1].

A few things which should be considered:


- It should work with both

#!/usr/bin/env /lib/init/init-d-script

and

if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi

Otherwise we need a flag day and convert all packages using
init-d-script at once.


- Older versions of sysvinit-utils (prior to 2.88dsf-59.11) did not use
__init_d_script_name=. 40-systemd should either work with older and
newer versions of /lib/init/init-d-script or systemd would need a
versioned Breaks: sysvinit-utils (<< 2.88dsf-59.11)

I would prefer if we can avoid the Breaks as those are prone to
complicate dist-upgrades.



Regards,
Michael

[1] A MR via https://salsa.debian.org/systemd-team/systemd/ would be
even better
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20181123/84ef6e97/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list