Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683422 - sys-apps/systemd-242: nspawn: systemd-networkd stopped working in containers without -U
Summary: sys-apps/systemd-242: nspawn: systemd-networkd stopped working in containers ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-15 19:36 UTC by Albert W. Hopkins
Modified: 2020-02-23 17:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2019-04-15 19:36:51 UTC
If not passing -U to systemd-nspawn, systemd-networkd does not start successfully in a container where systemd-242 is running on the host.

```
# systemctl status systemd-networkd
● systemd-networkd.service - Network Service
   Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: >
   Active: inactive (dead)
Condition: start condition failed at Sun 2019-04-14 06:33:18 PDT; 13s ago
           └─ ConditionCapability=CAP_NET_ADMIN was not met
     Docs: man:systemd-networkd.service(8)
```

This is a regression in systemd-242.  I've created a bug report upstream and a fix is forthcoming.