Comment 5 for bug 1447807

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote : Re: systemctl enable fails to enable a SysV service

Looking at the source code a bit, I see that in systemctl.c:enable_sysv_units there is a comment that it should reshuffle the args array, but it seems it never does that? So strv_isempty(names) in enable_unit never matches, causing the call to systemd which is failing, because there is no unit file.