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

[PATCH 1/3] Don't get tripped by partial fstab option matches. (#699167)



---
 pyanaconda/storage/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index 9904581..a2bfc12 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -1762,7 +1762,7 @@ class FSSet(object):
 
     def _parseOneLine(self, (devspec, mountpoint, fstype, options, dump, passno)):
         # no sense in doing any legwork for a noauto entry
-        if "noauto" in options:
+        if "noauto" in options.split(","):
             log.info("ignoring noauto entry")
             raise UnrecognizedFSTabEntryError()
 
-- 
1.7.3.4


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