On 8 July 2011 21:04, Robert Schweikert
Outlaw it! Simply mv {en,dis}abled/foo.service and mv {dis,en}abled/foo.service, and rm a redundant option that agrees with the system default.
Not sure how you would set a default of disable all or enable all, create a file "all" or "*" in the enable or disable directory?
Packages can simply look for a "install-defaults-on" flag which is at the directory level NOT at file *.service level. services/ enabled/ foo.service bar.service disabled/ boring.service tricky-to-configure.service install-defaults-on If you know disable is default, then removing (creating) that flag, allows local change to distro policy. With unlink & rename having filesystem guarantees, the only inconsistency is the configuration error of : enabled/foo.service disabled/foo.service Which one resolves by unlinking the enabled/foo.service on basis disabling is more principalled. Regards Rob -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org