ROSA Linux Bugzilla – Bug 257
Impossible to enable/disable services
Last modified: 2012-07-26 16:53:12 MSD
Start ROSA Control Center -> System -> Manage system services. Service Configuration tool opens which contains toolbar buttons and menu commands "Enable" and "Disable" for controlling the service boot-time loading. However, these commands can only be used for cups-lpd and cvs services (when selecting one of them, the "Enable" command becomes available); for all other services these buttons remain grayed out and therefore impossible to be used.
It's normal. In Fedora this part with systemd service also not work :)
Now not pretty GUI will posible enable/disable systemd services (may be we write it?).
Hm... I'd understand if it was called "not our problem", but calling this behavior "normal" is out of all reason. If the application cannot perform functions it was designed to perform, it does not deserve the priviledge to be in the distribution, let alone to be the default tool for managing services. Maybe drakxservices did not have such glamour, but at least it worked...
drakxservice not see systemd anymore...
Now not instruments, that may enable/disable systemd service in GUI mode.
With drakxservices I could disable pcscd. With system-config-services I couldn't.
If pcsd systemd service? If not, then system-service-config has a bug with chkonfig service and this will be fix.
Another way - try using Mageia patch fix systemd detection.
Third - write new application
Is there a problem to force to work pcscd with systemd?
(In reply to comment #5)
> If pcsd systemd service?
How can I find this out? In the bug #258 I copied some lines from /var/log/messages which mention pcscd: they also include systemd, but does it mean that pcscd is a systemd service?
If service present in /etc/init.d it's not systemd, but manage via systemd.
I see. It's there, so it's not a systemd service.
pcsd is another bug. Fast search seen, that in system many doubles in systemd and init.d for one service, like shorewall and other. It's slow boot time, get some errors and need be fixing.
Try test drakxservice from this package. It's not finally (need wait update ldetect), but drakxservice now will support systemd
I tried installing the packages but still I am unable to disable many services like fedora-autorelabel etc
Please let me know how can I make it work
Nowday no distros, that may work with systemd on 100%
You need use CLI interface and
systemctl enable/disable serivce_name
systemctl start/stop/restart service_name
for properly work.
Or you may try using systemadm
In drakxservice you need checkout "In startup" box for disabling service.
Thanks for the instructions.
Unfortunately only few of the services like winbind could be stopped using the CLI you had provided.
for example fedora-autorelabel is still active even though I had given the command
systemctl disable fedora-autorelabel.service
As far as drakxservices is concerned I see the "On Boot" checkbox, but then when I unselect a service and say OK and restart drakxservices it still shows as selected. I installed the packages from the link which you had provided.
Is there any other logs or CLI o/p you want me to provide for you to debug the issue more.........
Some other way - manually delete symlinks from /etc/systemd but...
I think if service will not stopped by CLI it's need for system and this action is deprecate...
Is there a way you folks can see what services are really required when booting the system and make the others as optional.
Why does fedora-relabel etc required to be started during boot?