On Mi, 10.04.19 12:49, Kamil Paral (kparal(a)redhat.com) wrote:
> Hmm, but the installed OS is not 100% the same as the livesys,
> it? If not, it should be possible to add a "systemctl disable
> dmraid.service --root=/path/to/os" somewhere, no?
AFAIK, they are 100% same. There's a hack, check your
They are executed every time during boot, but immediately quit if they
detect they're not running on a Live image (using kernel command line). You
can see them also here:
They are ugly, I think, and many improvements could be made there. But some
Live image adjustments are possible through them. But those are just
runtime changes for Live environment, they don't affect the installed
system. If anaconda had a post-install phase where it would make
appropriate changes to the installed system (and also ideally removed
itself and those livesys scripts), that would be great, yes.
Those scripts, can't we make them part of some RPM btw? I filed a bug
about that yesterday:
These scripts are a bit annoying since they are the only SysV scripts
left really (not even LSB!), have no purposes on an installed system
and live outside of any RPM ownership and validation.
Lennart Poettering, Berlin