Red Hat Bugzilla – Bug 483048
Traceback while testing updates=notext.img
Last modified: 2013-09-02 02:29:55 EDT
This bug was filed automatically by anaconda.
Created attachment 330356 [details]
Attached traceback automatically from anaconda.
James, can you give us the updates image too please? Because it tracebacks in it and I do not have the code for it.
Sure ... updates=http://clumens.fedorapeople.org/notext.img
The problem here is that because the kickstart file contains no packages section, anaconda wants to stop and show the package selection UI. That's how kickstart works - missing sections mean stop and ask for input. However, this step no longer exists in text mode installs.
James had the suggestion of just removing the package selection UI from both text and graphical. While that may be the right future direction, it's still a huge step for F11 so it's probably not going to happen.
It's my belief that we need to just halt if we get into this position. A missing packages section cannot imply the default package set, as that's what %packages\n%end means. I don't like overloading behavior like that.
However, I also understand that halting like that is not very friendly behavior, especially since partitioning will have already happened. But we have a lot of power with pykickstart, so what if we do a check right after kickstart file processing that sees if the packages section is present or not? If it's not, we can halt with an informative error message very early.
We can do this for any missing step that text mode no longer supports.
I've updated the notext.img file to provide the above check. I think this is probably a reasonable thing to do regardless of how the packaging UI turns out. We can always modify the list of steps we check for along the way.
I went with what's been outlined in comment #4. This will be in the next build of anaconda.