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

Re: RFC: OpenRC as Init System for Debian



On 2012-05-09 14:01 +0200, Gergely Nagy wrote:

> 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
> preserved.

FWIW, marking symlinks as conffiles is not to be recommended currently,
since dpkg does not handle them the way most people would expect[1,2].

Cheers,
       Sven


1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421344
2. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574658


Reply to: