Nicecity: local lxc-net service overrides the one provided by LXC package
/lib/systemd/system/lxc-net.service which belongs to LXC package.
It seems both files provides same features (see),
/etc/systemd/system/lxc-net.service should be removed and
/etc/default/lxc-net should be added.
#3 Updated by Pierre-Louis Bonicoli over 1 year ago
- Description updated (diff)
/lib/systemd/system/lxc-net.service is calling
/usr/lib/x86_64-linux-gnu/lxc/lxc-net which calls
iptables. Firewall rules are handled explicitly,
/lib/systemd/system/lxc-net.service will be disabled and
/etc/systemd/system/lxc-net.service will be renamed.
#4 Updated by Pierre-Louis Bonicoli over 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
- Security set to No
systemctl mask lxc-net
/etc/systemd/system/lxc.service(in order to replace
lxc-dhcp.service). Dependency removal can not use drop-in, the whole unit file needs to be overridden.