[systemd-devel] [PATCH] core: make parsing of chkconfig headers conditional

Lennart Poettering lennart at poettering.net
Mon Mar 24 16:14:42 PDT 2014


On Mon, 24.03.14 23:59, Michael Biebl (mbiebl at gmail.com) wrote:

> 
> 2014-03-24 19:58 GMT+01:00 Lennart Poettering <lennart at poettering.net>:
> > On Mon, 24.03.14 19:21, Lennart Poettering (lennart at poettering.net) wrote:
> >
> >> > See the bug report I posted earlier.
> >> > The discrepancy between the chkconfig head and the LSB header (the
> >> > latter being the correct one) caused a dependency loop and ultimately
> >> > dbus.socket to be dropped.
> >>
> >> So this is about the priority number and nothing else?
> >>
> >> If so, then I am happy to take a patch that drops taking the chkconfig
> >> priority number into account entirely, while leaving the rest of
> >> chkconfig parsing in there, unconditionally. That should fix the
> >> immediate bug you are encountering, right?
> >
> > I have commited such a change now. Can you verify if this improves
> > things for you?
> 
> I think the priority information is irrelevant in this particular
> issue. It's the discrepancy regarding runlevel information.
> 
> So I doubt your patch makes a difference, but I'll double check.

I am tempted to also drop the runlevel parsing from the LSB and
chkconfig headers. After all they are mostly irrelevant since what is
linked in /etc/rc?.d/ is what matters, and not the stuff in the init
script themselves.

Let me now if this would make things work then for you. If so, I'll drop
this too then.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list