[systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Martin Pitt
Lennart Poettering [2015-05-26 18:36 +0200]: That said, I think even better would be to maybe make the support for this generic in systemctl: instead of explicitly invoking chkconfig or update-rcd, maybe we can just make systemctl invoke some fixed binary /usr/lib/systemd/systemd-sysv-compat

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Martin Pitt
Hey Lennart, Lennart Poettering [2015-05-27 15:08 +0200]: /usr/lib/lsb/install_initd /etc/init.d/example.com-coffeed /usr/lib/lsb/remove_initd /etc/init.d/example.com-coffeed So we could make systemctl just call this if it's available, and otherwise do nothing for init.d scripts.

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 13:00, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-05-26 18:36 +0200]: That said, I think even better would be to maybe make the support for this generic in systemctl: instead of explicitly invoking chkconfig or update-rcd, maybe we can just make

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 15:17, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Lennart, Lennart Poettering [2015-05-27 15:08 +0200]: /usr/lib/lsb/install_initd /etc/init.d/example.com-coffeed /usr/lib/lsb/remove_initd /etc/init.d/example.com-coffeed So we could make systemctl just

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lukáš Nykrýn
Lennart Poettering píše v St 27. 05. 2015 v 15:22 +0200: On Wed, 27.05.15 15:17, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Lennart, Lennart Poettering [2015-05-27 15:08 +0200]: /usr/lib/lsb/install_initd /etc/init.d/example.com-coffeed /usr/lib/lsb/remove_initd

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lukáš Nykrýn
Martin Pitt píše v St 27. 05. 2015 v 17:45 +0200: Hey Lukáš, Lukáš Nykrýn [2015-05-27 17:32 +0200]: We already have /usr/lib/lsb/install_initd in fedora and rhel, it is in redhat-lsb-core, but basically it is just a symlink to chkconfig. Ah, that's not technically correct, as

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Martin Pitt
Hey Lukáš, Lukáš Nykrýn [2015-05-27 17:32 +0200]: We already have /usr/lib/lsb/install_initd in fedora and rhel, it is in redhat-lsb-core, but basically it is just a symlink to chkconfig. Ah, that's not technically correct, as /usr/lib/lsb/{install,remove}_initd have a different CLI. But