On Mon, 09.09.13 08:48, Colin Guthrie ([email protected]) wrote: > 'Twas brillig, and Andrey Borzenkov at 08/09/13 11:27 did gyre and gimble: > > В Sun, 08 Sep 2013 11:23:33 +0100 > > Colin Guthrie <[email protected]> пишет: > > > >> Hi, > >> > >> I noticed from a user bug report that systemctl enable/disable on > >> sysvinit services (i.e. redirection to chkconfig) is broken. > >> > >> I can't see anything in master that would fix this, so just wondering if > >> it's a know issue before I poke at it further... > >> > > > > Could it be missing build requires? > > > > commit 77e68fa2f0bd018bab2621a31919bfaa6a6b0a35 > > Author: Lennart Poettering <[email protected]> > > Date: Fri Jan 4 22:32:31 2013 +0100 > > > > systemctl: enable chkconfig compat only if chkconfig is found rather > > than based on distro > > > Oh could be yeah... > <tests> > ... and yes, this seems to be the case. > > However, there are some discrepancies. It requires the .service suffix > to work properly, unlike native services which do not.
Indeed. Sounds like something worthy to be fixed. I figure we never noticed this on Fedora because so few sysv scripts remain now, and they are exotic... Anyway, happy to take a patch. It probably just requires shifting around the first lines in enable_unit() in systemctl.c a bit, so that we mangle the names first, and then pass things to chkconfig... As I don't really have any sysv scripts installed anymore, I kinda rely on a patch for this... Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
