This call tells me that kde-settings-kdm.rpm is providing a preset file: $ repoquery -q --qf="%{name}" --whatprovides '*/lib/systemd/system-preset/*.preset' | sort -u ... kde-settings-kdm ... It shouldn't do that. Preset files are something that the distribution, spins of the distribution or administrators write. They policy that is applied to the OS, and should not be shipped by any normal RPMS. For Fedora, additions to the preset file must be kept in systemd.rpm and need to be accepted by FPC. Please remove the preset file from the RPM. Thanks!
Is there some policy or packaging guideline that document what you're recommending here?
I guess moving *kdm.preset to systemd.rpm wouldn't be *that* bad. I'm ok with it... (provided it continues to work as expected...). I hope presets that reference non-existent services essentially get ignored...
Quoting: https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd "If your package includes one or more systemd units that need to be enabled by default on package installation, they need to be covered by the default Fedora preset policy. The default fedora preset policy is shipped as part of systemd.rpm. If your unit files are missing from this list, please file a bug against the systemd package. Only services covered by the policy on which services that may be enabled by default on package installation are eligible for this, and you will need to receive special permission from FESCo to have a package start a service by default if it is not covered by the existing policy." The existing policy you find here: https://fedoraproject.org/wiki/Starting_services_by_default
thank you
If I understand right, the 81-fedora-kdm.preset (and I guess it applies to all the other DMs' preset files... I see one provided by LightDM here, too) isn't needed at all as KDM is eventually found in the 90-display-manager.preset so removing the file should do just fine.
%changelog * Tue May 21 2013 Rex Dieter <rdieter> 19-21 - cleanup systemd macros - kde-settings-kdm is misusing preset files (#963898)