[PATCH] Raise an exception when /etc/fstab contradicts detected fs type (#536906)

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

 



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

diff --git a/storage/__init__.py b/storage/__init__.py
index 3eb1f66..6d9634b 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1560,7 +1560,7 @@ class FSSet(object):
         # the device's format we found matches what's in the fstab
         fmt = getFormat(fstype, device=device.path)
         if fmt.type != device.format.type:
-            log.warning("scanned format (%s) differs from fstab "
+            raise StorageError("scanned format (%s) differs from fstab "
                         "format (%s)" % (device.format.type, fstype))
 
         if device.format.mountable:
-- 
1.6.5.2

_______________________________________________
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