3.0 - how to prevent lxc-net being (re)started when (re)starting lxc?


#1

It appears that any (re)start of lxc is also (re)staring lxc-net. How can this be prevented?


#2

There is no way to disengage lxc-net from lxc?


#3

What do you mean by lxc?
If it is a command, it is the command for LXD. Thus not relevant to lxc-net.


#4

service lxc (re)start is also (re)starting the lxc-net.service

Did already systemctl disable lxc-net but of course that is just preventing the start of lxc-net.service at boot time.


Probably systemctl mask lxc-net should do though