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
(from parent 1:
d403614
)
nspawn: document why we don't check resolv.conf mount errors
author
Lennart Poettering
<lennart@poettering.net>
Fri, 21 Sep 2012 14:55:56 +0000
(16:55 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 21 Sep 2012 14:55:56 +0000
(16:55 +0200)
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index d181e3b338564c76de9caa57832fdb991005fb85..959df4e0d836f79cbd4fb7fa955f1ac4ae2a57bd 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-404,6
+404,8
@@
static int setup_resolv_conf(const char *dest) {
if (!where)
return log_oom();
+ /* We don't really care for the results of this really. If it
+ * fails, it fails, but meh... */
if (mount("/etc/resolv.conf", where, "bind", MS_BIND, NULL) >= 0)
mount("/etc/resolv.conf", where, "bind", MS_BIND|MS_REMOUNT|MS_RDONLY, NULL);