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

Re: RFC: OpenRC as Init System for Debian

Philipp Kern <pkern@debian.org> writes:

> On Wed, May 09, 2012 at 10:39:38AM +0200, Gergely Nagy wrote:
>> > And the integrator/packager may not want to learn all the funny
>> > languages that daemons can be written in (ocaml, haskell, java, ruby,
>> > ...). Besides, init scripts are conf files on Debian for good reasons.
>> So are unit files and configuration files. If the daemon can't be
>> configured and started properly without an init script's help, then
>> something's very broken.
> Technical nit: No, unit files aren't.  AIUI a package would ship its
> unit file in /lib/systemd/system (i.e. RedHat-style).  If you need to
> override it, you're of course free to copy it to /etc/systemd/system and
> make the necessary adjustments.  You will not, however, get a conffile
> update prompt when the system file changes (e.g. to update your own
> local copy to incorporate the fix).

Nothing prevents us from shipping the symlinks in the debian package
(which some packages do, like rsyslog). The symlinks can be marked as
conffiles (which rsyslog does not do) and then modifications will be

However, this still does not cover the case where the file in /lib
changed, but there's not much that can be done about that, at least not

On the other hand, a changelog entry about a minor unit file fix should
suffice, and it it's a major change, debian/NEWS or something similar
can go a long way.


Reply to: