Bug 614598

Summary: systemd-install disable either doesn't work, or isn't obvious how to make it work
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: lpoetter, metherid, rvokal, yaneti
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-06 10:11:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Nottingham 2010-07-14 20:33:46 UTC
Description of problem:

An example:
[root@localhost systemd]# systemd-install --system disable getty.target.wants/getty
File /etc/systemd/system/getty.target.wants/getty not a symlink to /etc/systemd/system/getty.target.wants/getty but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty not a symlink to /etc/systemd/system/getty.target.wants/getty but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty not a symlink to /etc/systemd/system/getty.target.wants/getty but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty not a symlink to /etc/systemd/system/getty.target.wants/getty but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty not a symlink to /etc/systemd/system/getty.target.wants/getty but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty not a symlink to /etc/systemd/system/getty.target.wants/getty but points to /lib/systemd/system/getty@.service, ignoring.
[root@localhost systemd]# echo $?
1

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

systemd-3-3

Comment 1 Yanko Kaneti 2010-07-15 10:12:20 UTC
Another oddness of this sort
# systemctl --all | grep Network
NetworkManager.service                        loaded inactive     dead        
# systemd-install disable NetworkManager.service
Couldn't find NetworkManager.service.

Comment 2 Bug Zapper 2010-07-30 12:35:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Lennart Poettering 2010-08-06 10:11:52 UTC
Since a while "systemctl enable" now makes sure that invocations like this will fail, and tell the user to call it with non-symlinked service file names only.