[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upstart: please update to latest upstream version



Vincent Bernat <bernat@debian.org> writes:

> OoO Pendant  le repas du dimanche  11 mars 2012, vers  19:24, Goswin von
> Brederlow <goswin-v-b@web.de> disait :
>
>>> Yes,  but systemd  relies on  cgroups which  are not  portable.   If all
>>> daemons were able to not fork,  it would be easier to convert a .service
>>> file to a classic init.d  script and therefore use systemd (for example)
>>> as default with Linux and sysvinit with autogenerated files on kFreeBSD.
>
>> That would actually make things more difficult since then you have to
>> add some delay into the sysvinit files to wait for the daemon to become
>> ready before the init.d script returns.
>
> Is start-stop-daemon actually  relying on the PID file  being created to
> know if the daemon  is ready? Or maybe you mean a  daemon fork only when
> it is ready?

The later.

>> The only thing that would benefit would be to run systemd on kFreeBSD
>> without the cgroup mechanism. No forking so no need to trace fork()s.
>
> It seems that systemd relies on many more Linux specifics.
> -- 
> Vincent Bernat â?¯ http://vincent.bernat.im
>
> /* Fuck me gently with a chainsaw... */
>         2.0.38 /usr/src/linux/arch/sparc/kernel/ptrace.c

MfG
        Goswin


Reply to: