7 proposals - was Re: [Fedora-livecd-list] Kadischi - Anaconda

J. Hartline jasperhartline at adelphia.net
Sun Apr 2 01:20:23 UTC 2006


Jane Dogalt wrote:

>Ideally I'd like to see the
>livecd generator run as a user (not-root), since if you think about it,
>generating the bits in the iso file shouldn't require root privs.  But I admit
>it will be some time before that comes to bear.
>  
>
I think it would be a bit before that is possible.
There is too much within Anaconda (It's the installer, keep this in mind)
that only root should be doing. A few examples of this are reading files 
in /proc/
mounting devices, making device nodes, making links in non 
world-writeable directories.. etc.

I'm sure it could be done really-quick-like hacking it all to pieces, 
but this will never make it into Anaconda
as a single piece.

So.. anyhow I have kadischi.py now as a module within it contains 
definitions for
fromStages1_2(), livecdFromSystem() and systemFromLivecd() which depend on
the sysconfig file readonly-root and the file /.livecd to make these 
distinctions.
In this can go most of the other functions that kadischi uses currently.
To keep things "familiar" we also set "kadischi" as an installclass with 
it's respective
gui and text modules called from gui.py and text.py.

The cosmetics of it I think are another issue.
We shouldn't be seeing "Would you like a live CD" screens during normal 
installations, which we don't
using kadischi.fromStages1_2().

Any suggestions?

J. Hartline




More information about the livecd mailing list