invoke-rc.d: syntax error: unknown option "--skip-systemd-native"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Triaged
|
Low
|
Unassigned |
Bug Description
On bionic, the --skip-
This can be seen by installing nova-api-metadata from the ussuri cloud archive:
sudo add-apt-repository cloud-archive:
sudo apt install nova-api-metadata
This is coming from the postinst (and prerm) scripts:
# grep -r skip-systemd
nova-api-
nova-api-
Related Lintian warning:
https:/
--skip-
Exits before doing anything if a systemd environment is detected and the requested service is a native systemd unit. This is useful for maintainer scripts that want to defer systemd actions to deb-systemd-
To work around this warning:
sudo apt install init-system-helpers
I think the fix is to add a Pre-Depends as the Lintian describes, however I believe this has been this way all along and considering the line ends with "|| true" it is probably not an issue.
Changed in cloud-archive: | |
status: | New → Triaged |
importance: | Undecided → Low |