15 Aug
2014
15 Aug
'14
9:28 a.m.
On Fri, Aug 15, 2014 at 5:14 AM, Leonid Isaev
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