#752038 ganeti: uses invoke-rc.d instead of service

#752038#5
Date:
2014-06-18 22:53:09 UTC
From:
To:
Hello,

There is a bug where the path to invoke-rc.d has been
explicitely inserted and hard coded into the d/rules
file. This should use the service command instead!

Here is the relevant Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/ganeti/+bug/1308571

Thanks,
Ryan

#752038#12
Date:
2014-06-19 07:40:58 UTC
From:
To:
Hi Ryan,

I don't think there's anything wrong with hardcoding invoke-rc.d in
d/rules, not more so than hardcoding it in a maintainer script.

Ubuntu bug #1308571 predated the change to use invoke-rc.d in Debian;
the failure in this case was due to the previous behavior of Ganeti
calling the initscript directly, and this is clearly mentioned in that
report.

Since we do not provide an upstart job for ganeti, invoke-rc.d should
work as expected, but can you please verify that 2.11.2 works with the
latest Ubuntu?

Regards,
Apollon