[systemd-devel] [PATCH] sysv-generator: Do not generate units for files handled by rc-local generator

Lennart Poettering lennart at poettering.net
Fri Jan 23 15:37:23 PST 2015


On Fri, 23.01.15 15:51, Cristian Rodríguez (crrodriguez at opensuse.org) wrote:

> El 23/01/15 a las 14:52, Lennart Poettering escribió:
> >On Fri, 23.01.15 12:27, Cristian Rodríguez (crrodriguez at opensuse.org) wrote:
> >
> >>El 23/01/15 a las 10:31, Lennart Poettering escribió:
> >>
> >>>The rc-local generator only exists to add compat support for those
> >>>systems where it never was a sysvinit script anyway...
> >>>
> >>
> >>They are not init scripts though. but plain shell scripts with no dependency
> >>information. they are installed in /etc/init.d, therefore we end with units
> >>generated by both the sysv-generator and the rc-local generator.
> >
> >Hmm? Are you talking about Debian or Suse now? I kinda assumed that if
> >Debian places it in /etc/init.d, that it is a proper sysvinit script...
> 
> SUSE has this scripts..
> 
> Extra start script: /etc/init.d/boot.local
> Extra stop script:       /etc/init.d/halt.local
> 
> The are not init scripts, but legacy shell scripts that naive people insist
> on wanting to use.

Hmm, and tools that enumerate sysv scripts will now find both the real
sysvinit scripts and this one that actually isn't and cannot make
sense of it? 

What does "chkconfig boot.local on" traditionally do on Suse then? 

This appears to be a really weird setup on suse...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list