Bug 864298 - systemctl is-enabled reports 'static' incorrectly (t appears) for services that just contain Also= but no Alias= or WantedBy=
Summary: systemctl is-enabled reports 'static' incorrectly (t appears) for services th...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Synacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-09 04:28 UTC by Bill Nottingham
Modified: 2015-02-18 21:39 UTC (History)
10 users (show)

Fixed In Version: systemd-219-3.fc22
Clone Of:
Environment:
Last Closed: 2015-02-18 21:39:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bill Nottingham 2012-10-09 04:28:29 UTC
Description of problem:

[root@nostromo ~]# systemctl is-enabled systemd-journal-gatewayd.service
static
[root@nostromo ~]# systemctl enable systemd-journal-gatewayd.service
ln -s '/usr/lib/systemd/system/systemd-journal-gatewayd.socket' '/etc/systemd/system/sockets.target.wants/systemd-journal-gatewayd.socket'
[root@nostromo ~]# systemctl is-enabled systemd-journal-gatewayd.service
static
[root@nostromo ~]# systemctl disable systemd-journal-gatewayd.service
rm '/etc/systemd/system/sockets.target.wants/systemd-journal-gatewayd.socket'
[root@nostromo ~]# systemctl is-enabled systemd-journal-gatewayd.service
static

Note that this 'static' also means that 'systemctl -q is-enabled' returns true, even when the service isn't enabled.

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

systemd-194-1.fc18

How reproducible:

100%

Comment 1 Fedora End Of Life 2013-12-21 09:04:45 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


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