El Fri, 2 de May 2014 a las 7:04 PM, Steve Langasek <vor...@debian.org> escribió:
Hi Cameron,

On Fri, May 02, 2014 at 06:35:30PM -0700, Cameron Norman wrote:
 Hey Steve,

 Is there anything wrong with the script attached by Dimitri ( to
implement the no-op init script functionality mandated by policy)? If
 not, would you like me to create a deb diff to add the script to the
 appropriate directory?

Actually, this bug report had fallen off my radar. I had been expecting Dimitri to implement this in Ubuntu, and that I would cherry-pick it back into Debian. Dimitri, is this patch current, and do you want it included
as-is?  I seem to recall some discussion about making the init scripts
pass-through to upstart rather than making them silently fail; did that
discussion reach a conclusion?


I would prefer this and would be willing to write a script to make this work, if we decide on that behaviour.

Assuming we're ok with the behavior provided by this patch, the only thing I would change is to check for the existence of the upstart job first, before
checking whether init_is_upstart, since it's the cheaper operation.


Change attached.

Also, why the check for /etc/init/foo.conf as a symlink? Is that because
upstart doesn't follow symlinks for .conf?


I would assume. Can not speak for Dimitri's reasons, though.

Thanks for the quick response,
--
Cameron Norman

Reply via email to