[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 5/7] Don't unmount /proc or /sys during shutdown.



Related: rhbz#604614
---
 loader/undomounts.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/loader/undomounts.c b/loader/undomounts.c
index af5caaa..efb7d37 100644
--- a/loader/undomounts.c
+++ b/loader/undomounts.c
@@ -153,6 +153,7 @@ void unmountFilesystems(void) {
 	*chptr++ = '\0';
 
 	if (strcmp(start, "/") && strcmp(start, "/tmp") &&
+            strcmp(start, "/proc") && strcmp(start, "/sys") &&
             strcmp(start, "/dev")) {
 	    filesystems[numFilesystems].name = strdup(start);
 	    filesystems[numFilesystems].what = FS;
-- 
1.7.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]