Red Hat Bugzilla – Bug 1264727
systemctl is-active reports "unknown" after recent systemd udpate
Last modified: 2015-09-22 03:20:32 EDT
Description of problem:
$ /bin/systemctl is-active sshd.service
Version-Release number of selected component (if applicable):
always since update
Steps to Reproduce:
1. run 'systemctl is-active' for any service
as documented in manual pages
(In reply to Paul DeStefano from comment #0)
> How reproducible:
> always since update
From which version to which version? Does the command work if you put SELinux to permissive?
Ah, okay. I didn't reboot after systemd upgrade and, after rebooting, this symptom was gone and it wasn't broken. I assume that is expected? I've certainty upgraded systemd in the past and not had this problem before rebooting, but perhaps this behavior doesn't surprise others.
Not sure how best to answer your question. dnf.rpm.log shows
right after the upgrade to this version, so I'm guessing that was the previously installed version.
You should always reboot if you are updating the init daemon (systemd).
So, after reboot, this issue is not reproducible anymore.