runtime-postinstall: allow pipewire to run as root
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/17eaf83 prevented pipewire socket and service from running as root, but in the installer environment, we need them to, or else RDP install does not work. Resolves: RHEL-102419 Signed-off-by: Adam Williamson <awilliam@redhat.com> Signed-off-by: Brian C. Lane <bcl@redhat.com>
This commit is contained in:
parent
c9b2d58b4d
commit
c4a4ee6ca4
3
80-rhel/config_files/common/systemd-allowroot.conf
Normal file
3
80-rhel/config_files/common/systemd-allowroot.conf
Normal file
@ -0,0 +1,3 @@
|
||||
[Unit]
|
||||
ConditionUser=
|
||||
|
@ -22,6 +22,13 @@ append etc/mdadm.conf "HOMEHOST <ignore>\n"
|
||||
remove etc/systemd/system/default.target
|
||||
symlink /lib/systemd/system/anaconda.target etc/systemd/system/default.target
|
||||
|
||||
## Allow pipewire.service and pipewire.socket to run as root
|
||||
## https://bugzilla.redhat.com/show_bug.cgi?id=2355207
|
||||
mkdir etc/systemd/user/pipewire.service.d/
|
||||
install ${configdir}/systemd-allowroot.conf etc/systemd/user/pipewire.service.d/allowroot.conf
|
||||
mkdir etc/systemd/user/pipewire.socket.d/
|
||||
install ${configdir}/systemd-allowroot.conf etc/systemd/user/pipewire.socket.d/allowroot.conf
|
||||
|
||||
## Make sure tmpfs is enabled
|
||||
mkdir etc/systemd/system/local-fs.target.wants/
|
||||
symlink /lib/systemd/system/tmp.mount etc/systemd/system/local-fs.target.wants/tmp.mount
|
||||
|
Loading…
Reference in New Issue
Block a user