[PATCH] Do not set a parent on the /mnt/sysimage/dev bind mount object (#499724).

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

 



Doing so means we eventually end up trying to bind mount /mnt/sysimage/dev
onto /mnt/sysimage/dev, which of course is never going to work.  That means
there's no device nodes and we can't get the boot blocks off devices to see
if the upgrade bootloader option should even be offered.
---
 storage/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index d37fa40..90886db 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1574,7 +1574,7 @@ class FSSet(object):
             if "noauto" in options.split(","):
                 continue
 
-            if device.format.type == "bind":
+            if device.format.type == "bind" and not device == self.dev:
                 # set up the DirectoryDevice's parents now that they are
                 # accessible
                 #
-- 
1.6.1.3

_______________________________________________
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