chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6e87e9
)
nspawn: don't provide /dev/rtc0 in the container
author
Lennart Poettering
<lennart@poettering.net>
Wed, 5 Sep 2012 22:27:07 +0000
(15:27 -0700)
committer
Lennart 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
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index 8765b0185fbff5cde3bb269eb63e2d67f11d39bb..7b1b5eab846eb1660fb3b176dcbd0ee6495557d8 100644
(file)
--- 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;