[systemd-devel] [PATCH] sysv-generator: Do not generate units for files handled by rc-local generator
mbiebl at gmail.com
Fri Jan 23 06:57:01 PST 2015
2015-01-23 14:32 GMT+01:00 Lennart Poettering <lennart at poettering.net>:
> On Fri, 23.01.15 04:24, Michael Biebl (mbiebl at 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
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.
rc-local.service already has a
ConditionFileIsExecutable=/etc/rc.local, so it seems it would dtrt
Martin, what do you think?
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
More information about the systemd-devel