Am 16.01.2015 um 15:23 schrieb Tomáš Chvátal:
There are still few leaf packages using regular old initscript instead of unit files. I guess it is due to simple fact that nobody bothered nor had a reason as it still kinda works.
Unfortunately just enforcing some policy won't work. See for example display-manager, postfix or ntpd. They appear to use systemd service files but actually the service file just starts more or less the old init script that was renamed and copied elsewhere. That's not quite the goal of the exercise IMO. The time would be better invested in important and core packages like the mentioned ones. Ie make sure they have proper startup behavior and can serve as good examples for leaf package maintainers. Also, there's a number of packages that have both a sysv init script and a service file (rpmlint check suse-systemd-shadowed-initscript). Those should decide for one or the other: apache2 avahi courier-authlib courier-imap erlang gnugk gnump3d icecast keepalived laptop-mode-tools memcached netatalk nut php5 postfix postgrey pptpd proftpd radvd sanlock ufw varnish xl2tpd
What do you think? Should I do the rpmlint check?
Well, feel free to extend CheckRCLinks.py. I wouldn't want to make it a fatal check yet though. There are likely quite some packages where the daemon itself is worse than the init script anyways :-) cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5; 90409 Nürnberg; Germany -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org