Jobs under /lib instead of /etc?
Michael T
raselmsh at hotmail.com
Tue Nov 10 09:34:59 GMT 2009
Hello Garett,
> FreeBSD uses /etc // /usr/local/etc to store not just configuration
> scripts, but also its rc-script infrastructure. This is also the
> traditional way that SysV init did things on Linux too, but the
> scripts and configuration were a bit more partitioned (the scripts all
> lived in /etc/init.d // /etc/rc.d, and the configuration varied
> depending on the Linux distro). Mac OSX is the only odd-sheep out of
> the mix because they put configuration items in /Library/...
> somewhere, if memory serves me correctly, but their layout is
> drastically different from BSD's and Linux.
>
> So, I don't see why Upstart shouldn't continue to follow this model,
> unless you have a valid concern about the way that the jobfiles are
> laid out, and for technical reasons what you're proposing as far as a
> redoing of the layout, but this will break expectations for backwards
> compatibility between upstart versions.
A late reply. On the whole, I have one particular concern - whether it is
valid is probably up for debate. I can express it as one of the usage
cases that everyone loves so much. Note that many Linux distributions
with traditional init systems support this right now.
The usage case is that the user installs some service that is enabled
out-of-the-box, but that they do not want to run by default. (Say it is
Apache, sshd, whatever). They want to be able to disable it without having
to hand-edit an init script or upstart job in a text editor - say they use a GUI
service configuration tool. They also don't want to be prompted to manually
resolve the conflicts between the package-supplied job file and their local
one whenever the package is updated. Is this possible now with Upstart
without falling back to distro-specific hacks? (I know that is a hard way to
describe debconf, but you know what I mean).
Regards,
Michael
_________________________________________________________________
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
More information about the upstart-devel
mailing list