Red Hat Bugzilla – Bug 852405
several services are not enabled in default preset file
Last modified: 2012-09-13 05:29:52 EDT
+++ This bug was initially created as a clone of Bug #850249 +++
Fedora 18 changes the way how to work with services in spec files. It introduces new macros - %systemd_post, %systemd_preun and %systemd_postun; which replace scriptlets from Fedora 17 and older (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd, https://bugzilla.redhat.com/show_bug.cgi?id=850016).
There are more packages that need to be added to presets file. We know about this. We will collect them and add them at once.
Do you think it's wise to wait? I already fixed the cron daemon and push it into F-18 testing. When do you want to change the default preset? It could happen that only gdm/kdm will be enabled after the installation.
I wonder if we shouldn't push all changes in one update with changes into default.preset.
In git I have now added entries for:
# System stuff
# Desktop stuff
That means from the list Petr posted we still miss:
I think it would be safe adding these too to the list, even thought they are not using the macros yet. However, for that I'd need to know their unit names.
Please, add also uuidd to the list of by default enabled services. Thanks.
Created attachment 612104 [details]
Services to be enabled by default in preset file
I went through the packages that use systemd services and have created this preset file.
It contains all packages where systemctl enable or chkconfig --add is called.
It does not contain ocfs2-tools because wrt. git it is dead package.
I hope this will at least help to filter all services suitable for default preset file.
Ah, thanks Vaclav!
I have now added many from your list to the preset file. But I didn't add all of them since I am quite sure some of them are network facing or require manual configuration and probably don't make sense to be enabled by default or are incompatible with the current policy. For those I'd really prefer if the respective maintainers would file individual bugs.
Examples for the ones I didn't add: pppoe-server.service or nginx.service. I am pretty sure these two are perfect examples of services that should not be enabled by default...
Karel, uidd is added now.
I will close this bug now and hope that maintainers who miss their units in the list will file appropriate bugs.
(In reply to comment #5)
> It contains all packages where systemctl enable or chkconfig --add is called.
"chkconfig --add" doesn't enable a service, it just add the service to the rc.d structure so the list contains several services which shouldn't be enabled by default like cyrus-imapd, dmapd, exim, ...
Please recheck the list against  and fix it.
I haven't check a list which was pushed to git which is already filtered, sorry for the noise.
BTW, I filled this bug:
In order to get the "starting services by default" list cleaned up a bit.