Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Michael Biebl
2015-02-16 15:55 GMT+01:00 Dimitri John Ledkov dimitri.j.led...@intel.com: If you have a strong desire for such a feature, and I presume in current stable distributions, rather than future stables. It is best to factor it out into a stand-alone, portable across older systemd releases,

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Lennart Poettering
On Mon, 16.02.15 12:25, Christian Seiler (christ...@iwakd.de) wrote: Hi, Would you accept a patch that makes the sysv-generator consider these local overrides? (I have a test patch just for insserv/overrides that's diffstat +14 -8; for chkconfig.d it would be a bit more longer, because you

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Michael Biebl
2015-02-16 13:59 GMT+01:00 Lennart Poettering lenn...@poettering.net: Well, if this is really just about overriding the LSB headers, and nobody so far ever asked for this functionality, wouldn't it be a better and easier way out to just recommend people to do systemd-style drop-ins? I mean,

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Lennart Poettering
On Mon, 16.02.15 14:13, Michael Biebl (mbi...@gmail.com) wrote: 2015-02-16 13:59 GMT+01:00 Lennart Poettering lenn...@poettering.net: Well, if this is really just about overriding the LSB headers, and nobody so far ever asked for this functionality, wouldn't it be a better and easier way

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Dimitri John Ledkov
On 16 February 2015 at 14:35, Christian Seiler christ...@iwakd.de wrote: Am 2015-02-16 13:59, schrieb Lennart Poettering: You couldn't override init scripts that way - if you wanted to do that, you'd have to replace them completely. But if you just want to alter (or even specify for the first

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Christian Seiler
Am 2015-02-16 13:59, schrieb Lennart Poettering: You couldn't override init scripts that way - if you wanted to do that, you'd have to replace them completely. But if you just want to alter (or even specify for the first time for certain third-party scripts) dependency information but keep

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Jóhann B. Guðmundsson
On 02/15/2015 04:21 PM, Christian Seiler wrote: Hi, I just noticed that sysv-generator doesn't handle /etc/insserv/overrides (e.g. older SuSE, Debian) or /etc/chkconfig.d (e.g. RHEL = 6, Centos, old Fedora), it just ignores it, thus not retaining administrator overrides to init script headers.

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Christian Seiler
Hi, Would you accept a patch that makes the sysv-generator consider these local overrides? (I have a test patch just for insserv/overrides that's diffstat +14 -8; for chkconfig.d it would be a bit more longer, because you can override individual settings there (and not just all of them at

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Christian Seiler
resending, didn't go to list the first time (sorry for the duplicate) Am 16.02.2015 um 12:00 schrieb Jóhann B. Guðmundsson: In the simplest case, the init script is trivial and you just create a simple native service and are better off anyway. But most of the time, init scripts where you want

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Jóhann B. Guðmundsson
On 02/16/2015 11:32 AM, Christian Seiler wrote: Sure, in an ideal world. But as I said in my initial mail, if you have crappy scripts provided by third-parties, this is not always an option. And I don't think init scripts are going to fully disappear in the next 10 years, it's not realistic -

[systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-15 Thread Christian Seiler
Hi, I just noticed that sysv-generator doesn't handle /etc/insserv/overrides (e.g. older SuSE, Debian) or /etc/chkconfig.d (e.g. RHEL = 6, Centos, old Fedora), it just ignores it, thus not retaining administrator overrides to init script headers. Now obviously, one can create a native unit file