Re: init systems and Policy
On Tue, 2012-03-27 at 14:31 +0600, Andrey Rahmatullin wrote:
> On Tue, Mar 27, 2012 at 09:25:17AM +0100, Simon McVittie wrote:
> > Ubuntu's version of debhelper includes changes to maintainer scripts to
> > avoid calling update-rc.d for sysvinit scripts when there is a
> > corresponding Upstart job, from which I infer that Upstart does not do
> > the same as systemd? If that's the case, then that's why Upstart needs
> > special and careful handling in Policy. It also makes Ubuntu's debhelper
> > patches unsuitable for use in Debian in their current form, since the
> > patch effectively assumes that if there is an Upstart job, it will be
> > run, and that's not true on non-Upstart systems.
> dh_installinit(1) in unstable already prefers debian/package.upstart to
> debian/package.init and doesn't install both when both are present.
How would that work on non-linux systems, service not started? Or should
every non-linux system support their own package.init file? What about
if systemd is preferred for a linux user?