[systemd-devel] [PATCH] [RFC] Move handling of sysv initscripts to a generator

Lennart Poettering lennart at poettering.net
Fri Jun 6 07:18:27 PDT 2014


On Wed, 28.05.14 11:58, Thomas H.P. Andersen (phomes at gmail.com) wrote:

> On Wed, May 28, 2014 at 3:38 AM, Zbigniew Jędrzejewski-Szmek
> <zbyszek at in.waw.pl> wrote:
> > On Wed, May 28, 2014 at 01:12:23AM +0200, Thomas H.P. Andersen wrote:
> >> From: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
> >>
> >> Reuses logic from service.c and the rc-local generator.
> >>
> >> Note that this drops reading of chkconfig entirely.
> > How likely is this to cause regressions in existing distributions?
> The start priority in chkconfig was already removed in 213 so the only
> thing was the runlevels. The runlevels were only used to determine if
> the runlevel was special (not 1-5). Since special runlevels was
> dropped way back I don't see any reason to read the chkconfig at all.

I agree. chkconfig parsing should only be retained for description + pid
file, as your patch already handles it.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list