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

Mert Dirik mertdirik at gmail.com
Fri Nov 23 00:49:51 GMT 2018


On 11/23/18, Michael Biebl <biebl at debian.org> wrote:
> 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.
>
>

I'll work on a patch for 40-systemd this week, but of course anyone
else should feel free to work on it before I do.



More information about the Pkg-systemd-maintainers mailing list