Vincent Bernat <ber...@debian.org> writes: > OoO Pendant le repas du dimanche 11 mars 2012, vers 19:24, Goswin von > Brederlow <goswin-...@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 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87pqci2tx7.fsf@frosties.localnet