[systemd-devel] [PATCH] core: make parsing of chkconfig headers conditional
Lennart Poettering
lennart at poettering.net
Mon Mar 24 09:36:15 PDT 2014
On Mon, 24.03.14 17:25, Michael Biebl (mbiebl at gmail.com) wrote:
> 2014-03-24 17:21 GMT+01:00 Lennart Poettering <lennart at poettering.net>:
> > Well, but we are a lot more dependent on correct headers than other
> > parsers anyway... For example, the LSB deps have traditionally been much
> > less accurately followed than they are now...
> >
> > I mean, we don't claim compatibility with scripts with broken headers,
> > anyway...
>
> Sorry, but I don't get your point.
>
> If I disable chkconfig support, then I don't want the chkconfig
> headers parsed. Isn't that quite obvious?
Well, it's two different things:
a) defer to /sbin/chkconfig if "systemctl enable" is used on a sysv
service.
b) take into account any information included in the sysv header that
exists.
Turning off chkconfig support does a), not b). And I'd really prefer if
sysv scripts would behave the same way on all systemd installations... I
mean that's what we try to do after all, provide a unified interface
for developers...
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list