Do not initialize kernel features in init
This code is now resulting in race condition when DNF sack is not prepared for query resulting in a black screen of GUI with no reasonable message.
Let's move the initialization of the variable from init to initialize which is after the payload thread is finished.
Resolves: RHEL-27076
Note: This can't be backported because of the modularization. We need to find if this is even issue on upstream code and c10s and if yes, the code needs to be moved to modules most probably.
/kickstart-test --testtype smoke
/kickstart-test --testtype payload
We have to find out if this happens also on upstream / RHEL-10 code because the code there is completely different. If this issue is also there we need to find a different fix. Thus not having label to backport this to upstream.
So far I was not able to reproduce it on RHEL-10. This, of course, doesn't mean the problem is not there, it only means I haven't seen it there yet :-)