Code review comment for lp:~ubuntu-core-dev/ubuntu/utopic/sysvinit/unreviewed

Revision history for this message
Steve Langasek (vorlon) wrote :

On Tue, May 20, 2014 at 06:33:19AM -0000, Martin Pitt wrote:
> Debian has
> http://anonscm.debian.org/gitweb/?p=collab-maint/sysvinit;a=commitdiff;h=0da7086
> for this problem on the systemd side. So I guess we need the moral
> equivalent for upstart?

The use of '.sh' extensions for init scripts is deprecated, and there is a
small and finite set that need to be handled. Furthermore, mapping these
job names would need to be done in C for upstart (since it's startpar that
provides the bridging at boot time), and not all of the .sh init scripts
could be handled as direct translations due to differences in the job
lifecycles (services vs. tasks in upstart). So the solution here is just to
provide the missing /etc/init/hostname.sh.conf wrapper job, to go with the
other wrapper jobs that mountall is already providing.

« Back to merge proposal