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

Bug#727708: upstart and upgrading from sysvinit scripts



Simon McVittie <smcv@debian.org> writes:
> On Sat, 28 Dec 2013 at 16:45:38 -0800, Russ Allbery wrote:

>> The second supported option is DAEMON_OPTS, which sets additional flags
>> to add to the process.  For as long as we need to support multiple init
>> systems, this option needs to stay in /etc/default/lbcd and be read
>> from there by all supported init systems so that configuration is
>> preserved as the user moves between init systems.

> I'd like to suggest that this should only be done for daemons where
> there is anything that a sysadmin can sensibly configure in this
> way. The patch proposed for #712167 (native Upstart init support in
> dbus) did this, but after checking the available command-line options in
> dbus-daemon, I couldn't actually find any command-line options that can
> be changed by a sysadmin without breaking system integration; so I think
> it's OK that the systemd unit doesn't read /etc/default/dbus, and I
> don't think the (potential future) Upstart job should either.

I would argue....

> (Perhaps this means /etc/init.d/dbus should stop reading /etc/default/dbus...)

...this.  If /etc/default is not useful, then it's not useful for the
sysvinit support either, and it seems better to just drop it in all
supported init systems rather than have it be inconsistent.  Either way,
you'd need a NEWS entry, etc., so that seems cleaner to me.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: