User: Password:
|
|
Subscribe / Log in / New account

A call for votes in the Debian init system discussion

A call for votes in the Debian init system discussion

Posted Jan 27, 2014 0:16 UTC (Mon) by tzafrir (subscriber, #11501)
In reply to: A call for votes in the Debian init system discussion by ovitters
Parent article: A call for votes in the Debian init system discussion

Here's an example:

> I do find it ironic that proponents are effectively suggesting that
> upstart native functionality be forbidden to be used by Debian developers,
> instead of _fixing_ upstart's expect logic to actually work as...expected.

(That's regarding "excpect fork" and such)

This functionality should not be needed in a properly-written service, as you should not write a daemon that forks. A forking daemon is likewise discouraged by systemd and will be likewise discouraged / forbidden by policy if systemd is chosen.


(Log in to post comments)

A call for votes in the Debian init system discussion

Posted Jan 27, 2014 0:31 UTC (Mon) by jspaleta (subscriber, #50639) [Link]

And yet... expect fork is used in existing upstart jobs out in the wild already...right? Ubuntu, as the gold standard for upstart integration hasn't disabled these upstart features yet right? Right?

It's one thing to draw a line in the sand and say debian isn't going to allow any forking daemons... going forward. They are allowed now under initscripts, right? So that's an interesting bit of backward compatibility drama the project is going to go through..convincing maintainers to change from forking to non-forking across the board.

But that doesn't say anything about whether upstart actually WORKS as designed. Your just paper over one problem with in upstart at best via a policy fight. It can still lose track of running services via problems parsing the embedded start/stop scriptlets that upstart jobs allow. Is deb going to also disallow those scriplets to workaround upstart's design flaws? Good luck with that.

A call for votes in the Debian init system discussion

Posted Jan 30, 2014 10:04 UTC (Thu) by hirnbrot (subscriber, #89469) [Link]

In a standard installation of Ubuntu 13.10 (in fact just the live cd under virtualbox), I'm counting 18 occurences of "expect " out of 96 files in /etc/init, with 6 of those being "expect daemon", and 12 "expect fork".

I'm also seeing 42 of what appear to be legacy init scripts in /etc/init.d, including a 364 line monstrosity to start udev (which includes mounting a tmpfs over /dev).

So: Yes, it's very much used in the wild, and if even Ubuntu hasn't fully converted to upstart in 7 years, I don't think there is any distribution that has.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds