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 8765b0185fbff5cde3bb269eb63e2d67f11d39bb..7b1b5eab846eb1660fb3b176dcbd0ee6495557d8 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;