On Fri, 23.01.15 15:57, Michael Biebl (mbi...@gmail.com) wrote: > 2015-01-23 14:32 GMT+01:00 Lennart Poettering <lenn...@poettering.net>: > > On Fri, 23.01.15 04:24, Michael Biebl (mbi...@gmail.com) wrote: > > > >> If distros still ship such a rc.local sysv init script, shouldn't they > >> rather symlink that to > >> the native rc-local.service? Sounds like the better alternative to me. > >> Or alternatively, mask that service. > >> > >> E.g in Debian we have /etc/init.d/rc.local and ship a > >> /lib/systemd/system/rc.local.service -> rc-local.service > >> symlink in the systemd package. > > > I'd recommend not shipping the rc-local generator at all in Debian > > then. It was simply compat for some crappy logic where Fedora was > > executing two special scripts, that were not sysv during bootup and > > shutdown. > > Hm, you're probably right. > I guess we could just statically enable rc-local.service in > multi-user.target.wants and drop rc-local-generator.
I'd even remove rc-local.service from Debian. If this is a normal sysvinit script, treat it as such, and let sysv-generator do its deed on it. Given that you don't have the shutdown counterpart like Fedora has you are then completely safe, without any special magic that we needed for Fedora... Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel