Skip to content
  • Michael Stapelberg's avatar
    fix systemctl enable/disable/… error message “Failed to issue method call: · 712ebba2
    Michael Stapelberg authored
    No such file or directory”
    
    The bug affected only non-native services, i.e. LSB SysV init scripts,
    with isc-dhcp-server.service being an example for this commit message.
    
    The bug was introduced with commit
    fdcb1bce. The issue is that
    enable_unit() would not return even though the SysV init script was
    disabled by enable_sysv_units(). enable_unit() then tried to
    disable a native systemd unit called isc-dhcp-server.service, even
    though there is no such native unit. This is what caused the “no such
    file or directory” error message.
    
    Closes: #734809
    712ebba2
To find the state of this project's repository at the time of any of these versions, check out the tags.