Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Lennart Poettering
On Tue, 26.08.14 21:58, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > В Tue, 26 Aug 2014 14:38:52 +0200 > Lennart Poettering пишет: > > > On Tue, 26.08.14 16:37, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > > > > > > On Tue, Aug 26, 2014 at 4:34 PM, Lennart Poettering > > > wrote:

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Andrei Borzenkov
В Tue, 26 Aug 2014 14:38:52 +0200 Lennart Poettering пишет: > On Tue, 26.08.14 16:37, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > > > On Tue, Aug 26, 2014 at 4:34 PM, Lennart Poettering > > wrote: > > > On Tue, 26.08.14 16:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > > > >>

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Lennart Poettering
On Tue, 26.08.14 16:37, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > On Tue, Aug 26, 2014 at 4:34 PM, Lennart Poettering > wrote: > > On Tue, 26.08.14 16:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > >> >> I have to say tho', I'm surprised this is something implemented in PID1. >

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Andrei Borzenkov
On Tue, Aug 26, 2014 at 4:34 PM, Lennart Poettering wrote: > On Tue, 26.08.14 16:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: > >> >> I have to say tho', I'm surprised this is something implemented in PID1. >> >> I hadn't looked at the code, but I thought (well assumed) "systemctl >> >> prese

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Lennart Poettering
On Tue, 26.08.14 16:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: > >> I have to say tho', I'm surprised this is something implemented in PID1. > >> I hadn't looked at the code, but I thought (well assumed) "systemctl > >> preset" was actually implemented on the client side. I guess it's true

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Andrei Borzenkov
On Tue, Aug 26, 2014 at 3:56 PM, Lennart Poettering wrote: > On Tue, 26.08.14 08:59, Colin Guthrie (gm...@colin.guthr.ie) wrote: > >> I have to say tho', I'm surprised this is something implemented in PID1. >> I hadn't looked at the code, but I thought (well assumed) "systemctl >> preset" was actu

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Lennart Poettering
On Tue, 26.08.14 08:59, Colin Guthrie (gm...@colin.guthr.ie) wrote: > >> If not, it's probably quicker and easier for me to do the work and > >> maintain it in scripts rather than systemctl itself, hence why I figured > >> I'd ask first. > > > > Currently the compat support for chkconfig is nicel

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Colin Guthrie
Lennart Poettering wrote on 26/08/14 02:19: > On Fri, 22.08.14 15:51, Colin Guthrie (gm...@colin.guthr.ie) wrote: > >> Hi, >> >> I recently changed my %post scripts in Mageia to use systemctl preset >> rather than systemctl enable to allow for policy-based overrides of >> "enable on install" behav

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-25 Thread Lennart Poettering
On Fri, 22.08.14 15:51, Colin Guthrie (gm...@colin.guthr.ie) wrote: > Hi, > > I recently changed my %post scripts in Mageia to use systemctl preset > rather than systemctl enable to allow for policy-based overrides of > "enable on install" behaviour. > > Sadly, unlike enable, preset does not she

[systemd-devel] systemctl preset and chkconfig

2014-08-22 Thread Colin Guthrie
Hi, I recently changed my %post scripts in Mageia to use systemctl preset rather than systemctl enable to allow for policy-based overrides of "enable on install" behaviour. Sadly, unlike enable, preset does not shell out to chkconfig, so passing a service name that's not got a native unit no long