commit:     89c3b54f581b42fbfab5e6f7c443255449f3a711
Author:     Robert Buhren <robert <AT> robertbuhren <DOT> de>
AuthorDate: Sun Feb 12 23:41:54 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 07:53:24 2023 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=89c3b54f

x11-misc/sddm: Change RUNTIME_DIR path to "/run/sddm"

The systemd tmpfiles config provided with sddm sets the permission for
RUNTIME_DIR to 0711. Setting RUNTIME_DIR to "/run" results in the
wrong permission set for this directory leading to bugs similar to:

"systemd-networkd fails to start before dbus.socket with selinux enabled"

Closes: https://github.com/gentoo/qt/pull/265
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-misc/sddm/sddm-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild
index b8117a94..d4499b5d 100644
--- a/x11-misc/sddm/sddm-9999.ebuild
+++ b/x11-misc/sddm/sddm-9999.ebuild
@@ -110,7 +110,7 @@ src_configure() {
        local mycmakeargs=(
                -DBUILD_MAN_PAGES=ON
                -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
-               -DRUNTIME_DIR=/run
+               -DRUNTIME_DIR=/run/sddm
                -DSYSTEMD_TMPFILES_DIR="/usr/lib/tmpfiles.d"
                -DENABLE_PAM=$(usex pam)
                -DNO_SYSTEMD=$(usex !systemd)

Reply via email to