systemctl is-active on aliased names returns unknown

Bug #1488954 reported by Dr. Jens Harbott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Invalid
Low
Unassigned

Bug Description

There is a symlink in /lib/systemd/system from udev.service to systemd-udevd.service, however, running "systemctl is-active udev" returns "unknown" instead of "active" initially. This can be solved by running "systemctl status udev" once, but for monitoring the service it would be nicer if the "is-active" would be working out of the box.

$ lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04

$ apt-cache policy udev
udev:
  Installed: 219-7ubuntu6
  Candidate: 219-7ubuntu6
  Version table:
 *** 219-7ubuntu6 0
        500 http://eu.archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     219-7ubuntu3 0
        500 http://eu.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

This may in fact be a bug of systemd in general, as is seems to affect all service aliases created via symlinks.

Martin Pitt (pitti)
affects: udev (Ubuntu) → systemd (Ubuntu)
no longer affects: systemd (Ubuntu)
affects: systemd → systemd (Ubuntu)
Changed in systemd (Ubuntu):
status: New → Triaged
importance: Undecided → Low
summary: - systemctl is-active udev returns unknown
+ systemctl is-active on aliased names returns unknown
Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

Changed in systemd (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.