http://bugzilla.suse.com/show_bug.cgi?id=981004 http://bugzilla.suse.com/show_bug.cgi?id=981004#c1 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wicked-maintainers@suse.de --- Comment #1 from Marius Tomaschewski <mt@suse.com> --- (In reply to Jan Engelhardt from comment #0)
When a package is uninstalled, it will also be removed from the boot sequence, by means of %preun generally calling %service_del_preun foo.service, which expands to (among other things) `systemctl disable foo.service`.
To disable template instances such as foo@bar.service and foo@baz.service, one can - and must, since "bar" and "baz" are not known at any time to the package management system - use `systemctl disable foo@.service`, which will disable all instances.
FYI: All this is applicable for non-static services only (having an [Install] section) and calling enable/disable on them causes errors IMO. The macros do not catch this. -- You are receiving this mail because: You are on the CC list for the bug.