Red Hat Bugzilla – Bug 799123
anaconda should detect liveCD installation
Last modified: 2014-03-16 23:29:59 EDT
Description of problem:
If I hit the window close button on anaconda in the live environment, and confirm that I'd like to exit the installer, the live image reboots.
Version-Release number of selected component (if applicable):
20120229 live nightly.
Using TC1 I get a warning that this is pre-release software, if I click 'exit', I get another dialogue box with 'Back' and 'Reboot'. I would expect to say I don't want to install and not have to reboot. anaconda-17.12-1
*** Bug 876852 has been marked as a duplicate of this bug. ***
Still happening in anaconda-18.28-1.fc18.x86_64
How did you do this? There is no close button, and using 'Quit' from the main hub or 'Reboot' after a successful install doesn't reboot.
Anaconda is too dumb to realise I'm using a live CD and breaks in various ways when called "anaconda" instead of "liveinst". That's one of the ways.
It takes various arguments to set up a live install. That's why you run "liveinst" instead of "anaconda". So, that's expected behavior we will not be changing.
Why can't anaconda detect that it's being run from the live image and do the right thing?
There's not a single warning in the installer that it's not being run correctly.
I was told this was because anaconda developers do run anaconda by hand for testing. Surely, this would call for a "--im-an-anaconda-developer" flag rather than making people like me go down the rabbit hole and see bugs after bugs?
If you want to run the live installer from the live environment, you need to run the liveinst command. That sets everything up for you, without needing to do any special work. We already have too many ways of detecting the installation payload and we're not going to add any more, certainly not more that duplicate functionality that already exists.
Running anaconda from the command line to begin with is not encouraged.
Just my 2 cents. I had the same issue - though I wasn't running 'anaconda' rom the command line. I was using a live CD. However I've just tested Beta 18 RC1 and didn't do that anymore.