summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2004-12-01 17:09:41 +0000
committerPaul Nasrat <pnasrat@redhat.com>2004-12-01 17:09:41 +0000
commitd92853f5a964d8a45c668c0b1b3273a49ec12cf5 (patch)
tree759dc47febc6daaf8b85abc4d51fc0e7e60b91fe /fsset.py
parenta6a7476d7d50f3dd63f7e59d6272f16b40af6f7c (diff)
downloadanaconda-d92853f5a964d8a45c668c0b1b3273a49ec12cf5.tar.gz
anaconda-d92853f5a964d8a45c668c0b1b3273a49ec12cf5.tar.xz
anaconda-d92853f5a964d8a45c668c0b1b3273a49ec12cf5.zip
Don't trace back for bad/missing / in fstab (#141174)
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/fsset.py b/fsset.py
index 6b19b281f..19fe06d7c 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1557,6 +1557,16 @@ MAILADDR root
# XXX hack to make the device node exist for the root fs if
# it's a logical volume so that mkinitrd can create the initrd.
root = self.getEntryByMountPoint("/")
+ if not root:
+ if self.messageWindow:
+ self.messageWindow(_("Error"),
+ _("Error finding / entry.\n\n"
+ "This is most likely means that "
+ "your fstab is incorrect."
+ "\n\n"
+ "Press OK to reboot your "
+ "system."))
+ sys.exit(0)
rootlvm1 = 0
if trylvm1: