From 9a89129bf15f2c11d89c514ab1bea355baeacb64 Mon Sep 17 00:00:00 2001 From: Seungmin Kim <8457324+ehfd@users.noreply.github.com> Date: Mon, 29 Jul 2024 00:43:21 +0900 Subject: [PATCH] Restore DBus --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a71a33b..e5382fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -626,8 +626,8 @@ SHELL ["/bin/sh", "-c"] USER 0 # Enable sudo through sudo-root with uid 0 RUN if [ -d "/usr/libexec/sudo" ]; then SUDO_LIB="/usr/libexec/sudo"; else SUDO_LIB="/usr/lib/sudo"; fi && \ - chown -R -f -h --no-preserve-root root:root /usr/bin/sudo-root /etc/sudo.conf /etc/sudoers /etc/sudoers.d /etc/sudo_logsrvd.conf /usr/lib/dbus-1.0/dbus-daemon-launch-helper "${SUDO_LIB}" || echo 'Failed to provide root permissions in some paths relevant to sudo' && \ - chmod -f 4755 /usr/bin/sudo-root /usr/lib/dbus-1.0/dbus-daemon-launch-helper || echo 'Failed to set chmod setuid for root' + chown -R -f -h --no-preserve-root root:root /usr/bin/sudo-root /etc/sudo.conf /etc/sudoers /etc/sudoers.d /etc/sudo_logsrvd.conf "${SUDO_LIB}" || echo 'Failed to provide root permissions in some paths relevant to sudo' && \ + chmod -f 4755 /usr/bin/sudo-root || echo 'Failed to set chmod setuid for root' USER 1000 ENV PIPEWIRE_LATENCY="32/48000"