Bug 701326 - RFE: Should support enabling/disabling of systemd units
Summary: RFE: Should support enabling/disabling of systemd units
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-services
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-02 15:27 UTC by Nils Philippsen
Modified: 2012-12-20 15:44 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:44:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nils Philippsen 2011-05-02 15:27:16 UTC
Description of problem:
system-config-services can start/stop/restart systemd services, but not enable or disable them.

It should detect if a service/unit is enabled or not ("systemctl is-enabled ...") and reflect that in the UI as well as let the user enable/disable it ("systemctl enable/disable ...").

Version-Release number of selected component (if applicable):
system-config-services-0.101.0

Additional info:
systemd doesn't yet expose enabling/disabling or querying enablement of a unit via dbus or a library, currently one needs to edit/create/delete or check systemd configuration files/symlinks manually to find out about or control this.

systemd also lets you "mask" a unit, which prevents it from ever being started (directly, or via a dependency). As with enablement, systemctl doesn't let you control this feature, a user has to manually create a symlink to /dev/null for the unit to achieve this.

Comment 1 SteveB 2011-08-01 22:40:49 UTC
Agreed.  The Fedora wiki http://fedoraproject.org/wiki/systemd says:
"The Fedora 15 version of system-config-services can cope with systemd
service files. If you have problems, file a bug report."
But apparently not with the enable/disable functionality....
Thanks,
Steve

Comment 2 Fedora Update System 2012-09-11 13:36:03 UTC
system-config-services-0.101.8-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/system-config-services-0.101.8-1.fc18

Comment 3 Fedora Update System 2012-09-11 19:08:50 UTC
Package system-config-services-0.101.8-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-services-0.101.8-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13786/system-config-services-0.101.8-1.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-12-20 15:44:35 UTC
system-config-services-0.101.8-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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