You are not logged in.

#1 2017-02-02 06:05:52

skimj
Member
Registered: 2016-12-01
Posts: 14

systemd-networkd fail with "Could not add new link: Permission denied"

I have an Arch LXC container, it was running fine with systemd-networkd. After a reboot (upgrade), the network fails with the message: "Could not add new link: Permission denied". I'm not sure what permission is wrong. After some light digging in the systemd git it seems that the "Permission denied" portion could be passed from netlink but I'm not really sure where to look. I created another Arch LXC container and have no problem with systemd-networkd, with what seems to be identical configuration files.

I've set Environment=SYSTEMD_LOG_LEVEL=debug for systemd-networkd but haven't been able to glean much from it: http://paste2.org/mHp7x7Nk
Comparison to working LXC container: http://paste2.org/AUCC0M0b

It's a pretty simple setup. LXD host provides bridged veth to LXC container.
LXC container contains /etc/systemd/network/eth0.network

[Match]
Name=eth0

[Network]
DHCP=ipv4

I'm not really sure how to debug this. Can anyone offer a little guidance? Thanks in advance.

Offline

Board footer

Powered by FluxBB