Le mardi 29 novembre 2011 à 09:49 +0100, Ludwig Nussel a écrit :
Frederic Crozat wrote:
Le lundi 28 novembre 2011 à 19:30 +0100, Wolfgang Rosenauer a écrit : [...]
You didn't answer to my concern about updates from backports or things like Tumbleweed. I cannot enable a service from a package?
You should not (the policy is to use presets from systemd-presets-branding-openSUSE). But if you do (by adding systemctl enable in %post), we won't come and kill you (at least, for now).
I guess I can just call systemctl? Sorry, but this needs another solution. What about third party packages? They are never allowed to register themselves as a service automatically?
They can drop a file in /lib/systemd/system.preset to change policy for their package.
Hmm, maybe we should add rpmlint checks to prevent distro packages from doing that.
Sounds like a good idea. Also, rpmlint should check if a .service (or .socket) is listed and cause build to fail if no macros are used to register systemd service (this was top most complains from packages shipping both sysv and systemd services but not migrated to new macros, since systemd was favoring its native services but it wasn't "registered" by default). -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org