Bug 614598 - systemd-install disable either doesn't work, or isn't obvious how to make it work
Summary: systemd-install disable either doesn't work, or isn't obvious how to make it ...
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-14 20:33 UTC by Bill Nottingham
Modified: 2014-03-17 03:24 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-08-06 10:11:52 UTC


Attachments (Terms of Use)

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@tty6.service
File /etc/systemd/system/getty.target.wants/getty@tty1.service not a symlink to /etc/systemd/system/getty.target.wants/getty@tty6.service but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty@tty2.service not a symlink to /etc/systemd/system/getty.target.wants/getty@tty6.service but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty@tty3.service not a symlink to /etc/systemd/system/getty.target.wants/getty@tty6.service but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty@tty4.service not a symlink to /etc/systemd/system/getty.target.wants/getty@tty6.service but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty@tty5.service not a symlink to /etc/systemd/system/getty.target.wants/getty@tty6.service but points to /lib/systemd/system/getty@.service, ignoring.
File /etc/systemd/system/getty.target.wants/getty@tty6.service not a symlink to /etc/systemd/system/getty.target.wants/getty@tty6.service 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.


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