[PATCH 1/2] shutdown: don't unmount /sys and /proc

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

 



As "mdadm --wait-clean --scan" which runs after unmounting the filesystems
needs them.

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 81eed85..1ed5beb 100644
--- a/loader/undomounts.c
+++ b/loader/undomounts.c
@@ -152,6 +152,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.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux