Bug 701326

Summary: RFE: Should support enabling/disabling of systemd units
Product: [Fedora] Fedora Reporter: Nils Philippsen <nphilipp>
Component: system-config-servicesAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jones.peter.busi, nekohayo, nphilipp, nsoranzo, rdieter, samuel-rhbugs, zzybaloobah
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 15:44:31 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 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.