mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
nspawn: don't provide /dev/rtc0 in the container
Since RTCs are hardware devices and are very much shared resources we should avoid to provide them in each container.
This commit is contained in:
parent
a6e87e90ed
commit
3eabccc46c
@ -443,8 +443,7 @@ static int copy_devnodes(const char *dest) {
|
|||||||
"random\0"
|
"random\0"
|
||||||
"urandom\0"
|
"urandom\0"
|
||||||
"tty\0"
|
"tty\0"
|
||||||
"ptmx\0"
|
"ptmx\0";
|
||||||
"rtc0\0";
|
|
||||||
|
|
||||||
const char *d;
|
const char *d;
|
||||||
int r = 0;
|
int r = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user