chiark / gitweb /
nspawn: don't provide /dev/rtc0 in the container
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Sep 2012 22:27:07 +0000 (15:27 -0700)
committerLennart Poettering <lennart@poettering.net>
Wed, 5 Sep 2012 22:27:07 +0000 (15:27 -0700)
Since RTCs are hardware devices and are very much shared resources we
should avoid to provide them in each container.

src/nspawn/nspawn.c

index 8765b01..7b1b5ea 100644 (file)
@@ -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;