service_running breaks when systemd is installed on trusty
Bug #1745351 reported by
Gábor Mészáros
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Invalid
|
Undecided
|
Unassigned | ||
NTP Charm |
Fix Released
|
High
|
Unassigned |
Bug Description
service_running function tries systemctl is-active when systemd package is installed on the system.
Running trusty with systemd package installed, service_running always evaluate to unknown.
Function should fall-back to system V service status in such case.
Reproduce:
deploy prometheus charm on trusty and relate ntp service to the application.
juju status will report ntp service not running, where as it does.
Changed in ntp-charm: | |
importance: | Undecided → High |
Changed in ntp-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
already fixed in latest charm helpers.