summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-03-10 22:07:29 +0000
committerChris Lumens <clumens@redhat.com>2006-03-10 22:07:29 +0000
commitbe14ac64b3fe0eac8d2d84f0ceef433fb5f827a4 (patch)
treea430ef664411e9a2b08620df925251abce577096
parent21be72c12ac2a1199a4a6aa8d6376eb5bac5bdd3 (diff)
downloadanaconda-be14ac64b3fe0eac8d2d84f0ceef433fb5f827a4.tar.gz
anaconda-be14ac64b3fe0eac8d2d84f0ceef433fb5f827a4.tar.xz
anaconda-be14ac64b3fe0eac8d2d84f0ceef433fb5f827a4.zip
Don't traceback trying to mount auto filesystems of types we don't
actually support (#182730).
-rw-r--r--ChangeLog3
-rw-r--r--fsset.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 088f3c9e4..8625e1f64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* exception.py (handleException): String consistency (#181916).
+ * fsset.py (AutoFileSystem.mount): Don't traceback trying to mount
+ auto filesystems of types we don't actually support (#182730).
+
2006-03-09 Paul Nasrat <pnasrat@redhat.com>
* yuminstall.py: ignore conflicts on upgrade (#184461)
diff --git a/fsset.py b/fsset.py
index 8492d7dc5..ce0fd8799 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1034,6 +1034,9 @@ class AutoFileSystem(PsudoFileSystem):
PsudoFileSystem.__init__(self, "auto")
def mount(self, device, mountpoint, readOnly=0, bindMount=0):
+ errNum = 0
+ errMsg = "cannot mount auto filesystem on %s of this type" % device
+
if not self.isMountable():
return
iutil.mkdirChain(mountpoint)