Set systemd as default service provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* Puppet incorrectly detects the service manager on Ubuntu 16.04 and 16.10 as upstart, rather than systemd.
* Various puppet-driven commands fail as they do not use the systemd interfaces.
[Test Case]
* # upstart is required to confuse Puppet
apt install -y puppet upstart tftpd-hpa
# fails without fix
puppet apply -e "service { 'tftpd-hpa': ensure => stopped }"
# install fixed package
# works
puppet apply -e "service { 'tftpd-hpa': ensure => stopped }"
[Regression Potential]
* Currently, puppet is unable to apply configurations to 16.04, 16.10 and 17.04 (fix is in -proposed for 17.04) when upstart is installed. This change will make puppet correctly use systemd for service manipulation, and I believe the likelihood of regression is low.
* The primary source of regressions would be users who have modified their puppet installations to work around this issue. I believe they will be generally unaffected by fixing the underlying issue.
---
AFAIK, Ubuntu has systemd as default init system since 15.04 release. Although, puppet thinks it's still upstart.
This behavior is already fixed in upstream puppet code. Please, add this patch to Xenial puppet package.
Changed in puppet (Ubuntu): | |
status: | Fix Committed → In Progress |
Changed in puppet (Ubuntu): | |
assignee: | Nish Aravamudan (nacc) → Simon Déziel (sdeziel) |
Changed in puppet (Ubuntu): | |
importance: | Undecided → Medium |
Changed in puppet (Ubuntu Yakkety): | |
status: | New → Confirmed |
Changed in puppet (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in puppet (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in puppet (Ubuntu Yakkety): | |
status: | Confirmed → In Progress |
Changed in puppet (Ubuntu Xenial): | |
assignee: | nobody → Nish Aravamudan (nacc) |
Changed in puppet (Ubuntu Yakkety): | |
assignee: | nobody → Nish Aravamudan (nacc) |
description: | updated |
Changed in puppet (Ubuntu Yakkety): | |
status: | Incomplete → In Progress |
Changed in puppet (Ubuntu Xenial): | |
status: | Incomplete → In Progress |
Changed in puppet (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in puppet (Ubuntu Xenial): | |
importance: | Undecided → Medium |
The attachment "patch for puppet (v3.8.5-2)" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]