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.

Nothing prevents that you could manually start those services, this is true.
But in systemd services have a state, and they are only stopped if they
were previously activated/running.
The aforementioned initscripts are special in that regard, as they are
only run by sysv-rc on rc{0,6}. That's what I meant with "never executed
by systemd".

>>> 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.
> 
> Agreed, but those changes can happen independently.

Sure, but if this is addressed in initscripts, we don't need to
workaround that ourselves.

> One more related issue: does /bin/mountpoint from initscripts need to
> move elsewhere, or should programs just not rely on it?  (fsck.nfs can
> almost certainly just go away.)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399608
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399608#30


-- 
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