From: Lennart Poettering Date: Wed, 5 Sep 2012 22:27:07 +0000 (-0700) Subject: nspawn: don't provide /dev/rtc0 in the container X-Git-Tag: v190~167 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3eabccc46c003d129a847ba423a6d0ba778e4930;p=elogind.git 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. --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 8765b0185..7b1b5eab8 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;