![](https://seccdn.libravatar.org/avatar/a6ffef5dde34bf02c36fb9fb70f3e397.jpg?s=120&d=mm&r=g)
On Wed, 3 Apr 2013 09:20, Ludwig Nussel <ludwig.nussel@...> wrote:
Stephan Kulow wrote:
On 02.04.2013 10:06, Michal Kubecek wrote:
On Fri, Mar 29, 2013 at 11:29:22PM -0300, Cristian Rodríguez wrote:
Does anyone have access to a full unpacked tree of factory and can post what packages contain init scripts but not service files so I can take look at them ? there is no rpmlint check for that :-|
And not long ago I was being assured there won't be...
We agreed not to enforce that. So your fine to have a package with init scripts. But it's perfectly fine also to have a rpmlint warning that a package has *only* init script and Cristian adding systemd services for them - if the maintainer of the package disagrees to add it, then we can talk again.
Well, the truth is that it doesn't make much sense anymore to keep the sysv scripts if there is a service file. It only adds potential code duplication and confusion. So I'd vote for having either .service files or init scripts in a package but not both. However, adding service files that break previous features or just add the init script shell code 1:1 as ExecStartPre should be avoided too.
As long as there is a SLE(S|D) without systemd support you are shooting your own legs if you just "drop" all replaced sysVinit scripts. For systems with full systemd support (12.1 and later), install the scrips as %doc in the docdir for reference (and help). Before a drop could be considered (13.1 and following), there is more maturing needed (intoduce a .service, and get it working without troubles for a full release, e.g. a 'new' .service in 12.3 gets a moved /etc/init.d/ script as %doc in 13.1 and so on. Similar in SLE, afer one run in a SLE service pack it could be considered to move the scripts, but what of those that modified the scripts to suit their needs? I agree, that keeping the old sysVinit scripts beyond the end-of-life of the last sysVinit supporting SLE version (12?, 11 for sure) does not make sense, but before? Are you trying to get the SLE support crew mad at you? Just food for thoughts, - Yamaban.