From 33c0bf12da0770c8dabb29bd16e9ae2497d1f8dc Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Fri, 22 Sep 2023 03:37:35 -0400 Subject: [PATCH] config.sh: Create /etc/X11/xorg.conf.d Since we dropped the Xorg stack from the images, systemd-localed chokes when trying to set configs because it tries to create /etc/X11/xorg.conf.d if it doesn't exist so it can write a drop-in configuration file for setting xkb configuration, and the SELinux policy does not currently permit it. Until this is addressed somehow, pre-create the directory so localectl calls do not fail on this. Reference: https://bugzilla.redhat.com/2240159 --- config.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.sh b/config.sh index b3381dc..fd6db9f 100755 --- a/config.sh +++ b/config.sh @@ -23,6 +23,8 @@ echo "allow_vendor_change=False" >> /etc/dnf/dnf.conf #-------------------------------------- ## Fixes KDE Plasma, see rhbz#2058657 setsebool -P selinuxuser_execmod 1 +## Create /etc/X11/xorg.conf.d, see rhbz#2240159 +mkdir -p /etc/X11/xorg.conf.d #====================================== # Clear machine specific configuration