Le mardi 04 septembre 2012 à 14:51 -0300, Cristian Rodríguez a écrit :
On Tuesday, September 04, 2012 13:00:37 Ludwig Nussel wrote:
Andreas Jaeger wrote:
OK, then howto rework the proposal?
What about: * Remove SysV init booting from openSUSE (sysvinit package, aaa_base etc), any parts of it that are needed for sysv booting.
* Add an rpmlint ERROR to packages that provide "init" scripts but not native services
Too strong for 12.3. Warning is enough.
* make all RPM macros related to sysvinit no-ops
* Maybe make the spec file cleaning service to take part in the process?
Might not be a good idea. I'd prefer if those macros were calling "systemctl daemon-reload" because currently, when a new package is installed with initscript, it might not be detected by systemd until systemctl daemon-reload is started (I added a call in %restart_on_update but I'm not sure it is enough.
* Packages should not install (IE, abort build) files in /etc/systemd, /etc/modules-load.d/ or /etc/tmpfiles.d/ .. and systemd units should never be marked as %config.
Ok for me.
--
Frederic Crozat