Bug 812169 - systemctl -a does not list all inactive services
systemctl -a does not list all inactive services
Status: CLOSED DUPLICATE of bug 748512
Product: Fedora
Classification: Fedora
Component: systemd (Show other bugs)
16
All Linux
unspecified Severity medium
: ---
: ---
Assigned To: systemd-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-12 20:05 EDT by Elliott Forney
Modified: 2012-04-13 07:26 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-04-13 07:26:13 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Elliott Forney 2012-04-12 20:05:49 EDT
Description of problem:

systemctl -a

does not appear to always list inactive services.

Version-Release number of selected component (if applicable):

systemd-units-37-17.fc16.x86_64

How reproducible:

Always.

Steps to Reproduce:

$ systemctl -a --full | grep -i ftp
$ systemctl status vsftpd.service
vsftpd.service - Vsftpd ftp daemon
	  Loaded: loaded (/lib/systemd/system/vsftpd.service; disabled)
	  Active: inactive (dead)
	  CGroup: name=systemd:/system/vsftpd.service
$ systemctl start vsftpd.service
$ systemctl enable vsftpd.service
ln -s '/lib/systemd/system/vsftpd.service' '/etc/systemd/system/multi-user.target.wants/vsftpd.service'
$ systemctl -a --full | grep -i ftp
vsftpd.service                                                                                                                 loaded active   running       Vsftpd ftp daemon

Actual results:

Inactive service is not listed.

Expected results:

All services should be listed when --all is specified.
Comment 1 Michal Schmidt 2012-04-13 07:26:13 EDT

*** This bug has been marked as a duplicate of bug 748512 ***

Note You need to log in before you can comment on or make changes to this bug.