Comment 10 for bug 1459455

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

The package looks good to me now, except for one last thing:

override_dh_installinit:
        dh_installinit --name xe-daemon
        dh_installinit --name xe-linux-distribution
        dh_installinit --no-start --no-restart-on-upgrade

The last line of this is definitely wrong; it's going to look for files named debian/{xe-guest-utilities.,}{service,upstart,init} in the source directory, install them to the package, and configure the maintainer scripts to not start this service on package install/upgrade. This is a no-op, since none of the named files are present in the source.

What it *doesn't* do is prevent the xe-daemon and xe-linux-distribution jobs/services from being started on install/upgrade. If that's the goal, you need the --no-start option passed to the other two dh_installinit calls, for their respective scripts. (Note that --no-restart-on-upgrade is redundant with --no-start.)