Bug796588#: adjtimex: Has init script in runlevel S but no matching service file

Michael Biebl biebl at debian.org
Mon Dec 14 15:42:53 GMT 2015


Am 14.12.2015 um 16:35 schrieb Roger Shimizu:
> On Tue, Dec 15, 2015 at 12:29 AM, Michael Biebl <biebl at debian.org> wrote:
>> Am 14.12.2015 um 16:26 schrieb Michael Biebl:
>>> You could check for the existence of a config file in your sysv init
>>> script and simply exit if it doesn't exist.
>>> Under systemd the equivalent is a ConditionPathExists=/etc/foobar.conf

> adjtimexconfig produces /etc/default/adjtimex
> So "ConditionPathExists=/etc/default/adjtimex" can simply avoid to
> split the package!

That sounds good. I would then suggest to drop the debconf machinery and
the handwritten code which calls update-rc.d/invoke-rc.d directly
and simply let dh_installinit/dh_systemd do the job.

Regards,
Michael
-- 
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: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151214/55aa5b41/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list