summaryrefslogtreecommitdiffstats
path: root/debian/patches/Don-t-automatically-start-pipewire-for-root-logins.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:28:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:28:17 +0000
commit7a7930837235399abe3a43052b4aecd559982d62 (patch)
treecd64be32f3ed114012fe14594c014c6ea39551ce /debian/patches/Don-t-automatically-start-pipewire-for-root-logins.patch
parentAdding upstream version 0.3.65. (diff)
downloadpipewire-debian.tar.xz
pipewire-debian.zip
Adding debian version 0.3.65-3+deb12u1.debian/0.3.65-3+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/Don-t-automatically-start-pipewire-for-root-logins.patch')
-rw-r--r--debian/patches/Don-t-automatically-start-pipewire-for-root-logins.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/Don-t-automatically-start-pipewire-for-root-logins.patch b/debian/patches/Don-t-automatically-start-pipewire-for-root-logins.patch
new file mode 100644
index 0000000..833c971
--- /dev/null
+++ b/debian/patches/Don-t-automatically-start-pipewire-for-root-logins.patch
@@ -0,0 +1,30 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Sun, 17 Jan 2021 11:40:01 +0000
+Subject: Don't automatically start pipewire for root logins
+Forwarded: not-needed
+
+Closes: #979791
+---
+ src/daemon/systemd/user/pipewire.service.in | 1 +
+ src/daemon/systemd/user/pipewire.socket | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/src/daemon/systemd/user/pipewire.service.in
++++ b/src/daemon/systemd/user/pipewire.service.in
+@@ -14,6 +14,7 @@
+ # After=pipewire.socket is not needed, as it is already implicit in the
+ # socket-service relationship, see systemd.socket(5).
+ Requires=pipewire.socket
++ConditionUser=!root
+
+ [Service]
+ LockPersonality=yes
+--- a/src/daemon/systemd/user/pipewire.socket
++++ b/src/daemon/systemd/user/pipewire.socket
+@@ -1,5 +1,6 @@
+ [Unit]
+ Description=PipeWire Multimedia System Socket
++ConditionUser=!root
+
+ [Socket]
+ Priority=6