mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14: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:
parent
5516ae4419
commit
864e17068c
@ -1558,6 +1558,7 @@ static int register_machine(pid_t pid, int local_ifindex) {
|
||||
"/dev/random", "rwm",
|
||||
"/dev/urandom", "rwm",
|
||||
"/dev/tty", "rwm",
|
||||
"/dev/net/tun", "rwm",
|
||||
/* Allow the container
|
||||
* access to ptys. However,
|
||||
* do not permit the
|
||||
|
Loading…
x
Reference in New Issue
Block a user