[arch-projects] [netctl] KillMode in netctl{,@}.service
Hi, I am wondering what's the purpose of KillMode=none in netctl.service and netctl@.service. Is it an artifact of some sort? I think it's better to not include a KillMode line (so the default KillMode=control-group is used) because then systemd would clean processes left by "network stop" (should there be any)... Thanks, -- Leonid Isaev GPG fingerprints: DA92 034D B4A8 EC51 7EA6 20DF 9291 EE8A 043C B8C4 C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
On Fri, Aug 15, 2014 at 5:14 AM, Leonid Isaev <lisaev@umail.iu.edu> wrote:
I am wondering what's the purpose of KillMode=none in netctl.service and netctl@.service. Is it an artifact of some sort?
Yes, it goes back to a netcfg bug: https://bbs.archlinux.org/viewtopic.php?id=148374
I think it's better to not include a KillMode line (so the default KillMode=control-group is used) because then systemd would clean processes left by "network stop" (should there be any)...
I agree. Have you tested it without the KillMode line? In particular for netctl.service (network (re)store) the KillMode=none line is semantically correct. Nevertheless, I am in favor of dropping it if we don't need it. Regards, - Jouke
participants (2)
-
Jouke Witteveen
-
Leonid Isaev