summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-05 15:27:07 -0700
committerLennart Poettering <lennart@poettering.net>2012-09-05 15:27:07 -0700
commit3eabccc46c003d129a847ba423a6d0ba778e4930 (patch)
tree290e51e72e2baa7dba4869e7d35142ba8b247d64
parenta6e87e90ede66815989ba2db92a07102a69906fe (diff)
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.
-rw-r--r--src/nspawn/nspawn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 8765b0185f..7b1b5eab84 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -443,8 +443,7 @@ static int copy_devnodes(const char *dest) {
"random\0"
"urandom\0"
"tty\0"
- "ptmx\0"
- "rtc0\0";
+ "ptmx\0";
const char *d;
int r = 0;