[arch-projects] [netctl] KillMode in netctl{,@}.service

Jouke Witteveen j.witteveen at gmail.com
Fri Aug 15 05:28:18 EDT 2014

On Fri, Aug 15, 2014 at 5:14 AM, Leonid Isaev <lisaev at umail.iu.edu> wrote:
>         I am wondering what's the purpose of KillMode=none in netctl.service
> and netctl at .service. Is it an artifact of some sort?

Yes, it goes back to a netcfg bug:

>         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.

- Jouke

More information about the arch-projects mailing list