mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-27 21:50:15 +03:00
nspawn: actually allow access to /dev/net/tun in the container
It's not sufficient to just copy the device node over, we need to update the policy for it too.
This commit is contained in:
@ -1558,6 +1558,7 @@ static int register_machine(pid_t pid, int local_ifindex) {
|
|||||||
"/dev/random", "rwm",
|
"/dev/random", "rwm",
|
||||||
"/dev/urandom", "rwm",
|
"/dev/urandom", "rwm",
|
||||||
"/dev/tty", "rwm",
|
"/dev/tty", "rwm",
|
||||||
|
"/dev/net/tun", "rwm",
|
||||||
/* Allow the container
|
/* Allow the container
|
||||||
* access to ptys. However,
|
* access to ptys. However,
|
||||||
* do not permit the
|
* do not permit the
|
||||||
|
Reference in New Issue
Block a user