Merge pull request #33840 from bluca/test_locale_dbus

test: fix D-Bus policy override for TEST-73-LOCALE
This commit is contained in:
Luca Boccassi
2024-07-25 13:18:53 +01:00
committed by GitHub
2 changed files with 4 additions and 9 deletions
@@ -9,7 +9,7 @@ Environment=
GIT_URL=https://salsa.debian.org/systemd-team/systemd.git
GIT_SUBDIR=debian
GIT_BRANCH=debian/master
GIT_COMMIT=c7138e0b872ed474ae5568f7995b9f7a0c5c3679
GIT_COMMIT=7eebe8c0b1805c9f8ec86be8167ee41fa2a232a4
PKG_SUBDIR=debian
Packages=
+3 -8
View File
@@ -666,14 +666,9 @@ cat >/etc/dbus-1/system.d/systemd-localed-read-only.conf <<EOF
"https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow send_member="SetLocale"/>
<allow send_member="SetVConsoleKeyboard"/>
<allow send_member="SetX11Keyboard"/>
</policy>
<policy context="default">
<allow send_member="SetLocale"/>
<allow send_member="SetVConsoleKeyboard"/>
<allow send_member="SetX11Keyboard"/>
<allow send_destination="org.freedesktop.locale1" send_interface="org.freedesktop.locale1" send_member="SetLocale"/>
<allow send_destination="org.freedesktop.locale1" send_interface="org.freedesktop.locale1" send_member="SetVConsoleKeyboard"/>
<allow send_destination="org.freedesktop.locale1" send_interface="org.freedesktop.locale1" send_member="SetX11Keyboard"/>
</policy>
</busconfig>
EOF