http://bugzilla.suse.com/show_bug.cgi?id=981004
http://bugzilla.suse.com/show_bug.cgi?id=981004#c1
Marius Tomaschewski
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.