[Hostname-devel] Bug#713978: hostname: add upstart init support

Dmitrijs Ledkovs xnox at debian.org
Mon Jun 24 14:21:48 UTC 2013


Package: hostname
Version: 3.13
Severity: normal
Tags: patch
User: upstart at packages.deban.org
Usertags: upstart-job

Dear Maintainer,

please consider applying the following patch that adds upstart
integration to set hostname at boot time.

I know that under sysv init, initscripts package ships
/etc/init.d/hostname.sh. But it seems out of place for upstart package
to ship hostname job file, when hostname package ships the binary. To me
hostname package is a better place to ship upstart job file to set
hostname, thus giving you control as to which args should be used by
default.

I have tested proposed changes on debian sid, with both sysvinit and
upstart.

There are two jobs provided: hostname & hostname.sh. The first one is
the one that sets the hostname, the second one is there for sysv
compatibility.

Regards,

Dmitrijs.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostname-upstart.deb.diff
Type: text/x-diff
Size: 2306 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/hostname-devel/attachments/20130624/7e871e7f/attachment.diff>


More information about the Hostname-devel mailing list