Update the systemd service, to use kmscon instead of fbcon - #161
Conversation
On Fedora rawhide, kmscon is now the default, and the initial setup script is hidden behind the kmscon console. * Start initial-setup in kmscon * Add the current tty to the list of console when using multi-tty, as kmscon uses /dev/pts/x which is not listed in /sys/class/tty Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
|
Ping? This is still broken in current Rawhide, and it's a blocker most likely. |
|
I have merged the --oneshot argument in kmscon v10.0.1, which is now released in Fedora rawhide. There is however still a selinux issue. I tried to fix it with fedora-selinux/selinux-policy#3247 As it's currently broken anyway, we can merge this part, and fix selinux later. |
|
@M4rtinK Did you have time to run the smoke tests ? Merging this will help to make the selinux changes with fedora-selinux/selinux-policy#3247 Also initial-setup don't have specific selinux rules, and runs with the generic bin_t label. |
Anyway, back on this now & I will make it happen today. :)
I am not really sure this would be that simple or even doable - Initial Setup is basically just a launcher for Anaconda configuration screens, which in turn interact with the Anaconda backend, which does some significant system configuration operations (unlike Anaconda runnin of boot.iso or Live image, it does not do storage, but still a lot of stuff). On the other hand, the UI itself already runs in a separate process, so maybe there could be a SELinux policy for that & that would help ? |
Thanks ;)
So if most of the things requiring permission is done by the anaconda backend, maybe the rules I sent in the selinux ticket might be enough.
Maybe that can help to build the required selinux policy. I'm a complete beginner in selinux, so I hope someone with knowledge will help us. |
|
So got as far a COPR build but that failed on an apparently unrelated issue. :P https://copr.fedorainfracloud.org/coprs/m4rtink/Test_Initial_Setup_PR_161/build/10807170/ I've seen that happen sporadically in the past, so might as well finally fix it. :) |
On Fedora rawhide, kmscon is now the default, and the initial setup script is hidden behind the kmscon console.
Fix #160
It's a draft, I wasn't able to test it yet.