[master/f21-branch] cmdline 'rescue' must set flags.rescue_mode (fixes rescue mode access)

Adam Williamson awilliam at redhat.com
Wed Sep 17 19:45:32 UTC 2014


Commit 6187aa0d07 made rescue mode into part of flags, so anaconda
looks for 'flags.rescue_mode' when deciding whether to enter
rescue mode, but missed changing the cmdline parser to set
flags.rescue_mode not anaconda.rescue when it sees 'rescue' in the
parameters.
---
 anaconda | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anaconda b/anaconda
index 4d4676e..1705e90 100755
--- a/anaconda
+++ b/anaconda
@@ -1022,7 +1022,7 @@ if __name__ == "__main__":
     anaconda.updateSrc = opts.updateSrc
     anaconda.methodstr = opts.method
     anaconda.stage2 = opts.stage2
-    anaconda.rescue = opts.rescue
+    flags.rescue_mode = opts.rescue
 
     if opts.liveinst:
         from pyanaconda.screensaver import inhibit_screensaver
-- 
2.1.0



More information about the anaconda-patches mailing list