On 09.02.2012 23:19, Josh Triplett wrote:
> On Thu, Feb 09, 2012 at 10:07:23PM +0100, Michael Biebl wrote:
>> Am 09.02.2012 17:50, schrieb Josh Triplett:
>>> Currently, systemd masks or overrides most of the scripts in initscripts
>>> in favor of its own native implementations:
>> ...
>>> However, not all of them:
>>>
>>> ~$ dpkg -L initscripts | grep '^/etc/init\.d/' | while read x ; do test -e 
>>> "/lib/systemd/system/$(basename $x .sh).service" || echo $x; done
>>> /etc/init.d/rc.local
>>> /etc/init.d/mountoverflowtmp
>>> /etc/init.d/sendsigs
>>> /etc/init.d/umountroot
>>> /etc/init.d/umountfs
>>> /etc/init.d/skeleton
>>> /etc/init.d/bootlogs
>>> /etc/init.d/umountnfs.sh
>>
>> There is no point really in masking skeletion, sendsigs, umount* as they
>> are never executed by systemd.
> 
> I specifically avoided mentioning skeleton for this reason; clearly I
> should have filtered it out of the list entirely. :)
> 
> What in systemd prevents the execution of sendsigs and umount*?  I don't
> see those strings anywhere in systemd, and I don't see any masks for the
> corresponding services that systemd automatically generates for every
> init script.
> 
>>> bootlogs does two things: update motd (which seems misplaced) and save
>>
>> Yeah, we left bootlogs in because of the motd updating.
> 
> Sure.  Would you consider masking or overriding it at this point,
> though?

The motd bits have been split into /etc/init.d/motd, so it seems ok now
to mask /etc/init.d/bootlogs

>>> That just leaves mountoverflowtmp.
>>
>> Personally I wouldn't mind masking mountoverflowtmp. It is an odd one
>> anyway. As sysvinit now defaults to tmpfs-for-tmp, this should probably
>> removed in initscripts directly though.

Not yet decided what to do about that one and how it would interfere
with the native mount support of systemd anyway when it kicks in.

@Tollef, any opinions on whether to blacklist mountoverflowtmp?


So in summary: Atm, I only see bootlogs which could be masked,
mountoverflowtmp possibly.

As for native implementations from initscripts there are possibly motd
and rc.local. But as long as initscripts is essential, there is no real
benefit converting them to native unit files.

Is that a complete summary, or did I miss anything?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to