Bug 812169 - systemctl -a does not list all inactive services
Summary: systemctl -a does not list all inactive services
Keywords:
Status: CLOSED DUPLICATE of bug 748512
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 16
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-13 00:05 UTC by Elliott Forney
Modified: 2012-04-13 11:26 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 11:26:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Elliott Forney 2012-04-13 00:05:49 UTC
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 11:26:13 UTC

*** 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.