[PR #359] make pulse work without starting as root #328

Open
opened 2026-10-15 12:50:53 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gow/pull/359
Author: @skewballfox
Created: 10/3/2026
Status: 🔄 Open

Base: master ← Head: pulseaudio-unprivileged-user


📝 Commits (2)

  • c506964 make pulse work without starting as root
  • fd8190f let base images start as their user, without gosu

📊 Changes

19 files changed (+582 additions, -40 deletions)

View changed files

📝 images/base-app/build-fedora/Dockerfile (+5 -0)
📝 images/base-app/build/Dockerfile (+5 -0)
📝 images/base-app/tests/smoke.sh (+8 -0)
📝 images/base/build-fedora/Dockerfile (+8 -0)
📝 images/base/build-fedora/overlay/entrypoint.sh (+24 -1)
📝 images/base/build-fedora/overlay/etc/cont-init.d/10-setup_user.sh (+26 -6)
➕ images/base/build-fedora/overlay/opt/gow/init.d/10-check_user.sh (+31 -0)
➕ images/base/build-fedora/overlay/opt/gow/init.d/15-check_devices.sh (+21 -0)
➕ images/base/build-fedora/overlay/opt/gow/init.d/30-nvidia.sh (+140 -0)
📝 images/base/build/Dockerfile (+13 -0)
📝 images/base/build/overlay/entrypoint.sh (+24 -1)
📝 images/base/build/overlay/etc/cont-init.d/10-setup_user.sh (+26 -6)
➕ images/base/build/overlay/opt/gow/init.d/10-check_user.sh (+31 -0)
➕ images/base/build/overlay/opt/gow/init.d/15-check_devices.sh (+21 -0)
➕ images/base/build/overlay/opt/gow/init.d/30-nvidia.sh (+141 -0)
📝 images/base/tests/smoke.sh (+13 -5)
📝 images/pulseaudio/build-fedora/Dockerfile (+18 -9)
📝 images/pulseaudio/build/Dockerfile (+18 -9)
📝 images/pulseaudio/tests/smoke.sh (+9 -3)

📄 Description

on my system with running pulse as a rootless quadlet I'll get the error
error: failed switching to "root": operation not permitted when launching the startup script. This makes it possible to start the container directly as the podman user, rather than using gosu to drop to pulse


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/gow/pull/359 **Author:** [@skewballfox](https://github.com/skewballfox) **Created:** 10/3/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `pulseaudio-unprivileged-user` --- ### 📝 Commits (2) - [`c506964`](https://github.com/games-on-whales/gow/commit/c5069640723d37a5b44361d50bb3baa3fe45df25) make pulse work without starting as root - [`fd8190f`](https://github.com/games-on-whales/gow/commit/fd8190faeead33d15abf4e63753a9f726124e1ca) let base images start as their user, without gosu ### 📊 Changes **19 files changed** (+582 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `images/base-app/build-fedora/Dockerfile` (+5 -0) 📝 `images/base-app/build/Dockerfile` (+5 -0) 📝 `images/base-app/tests/smoke.sh` (+8 -0) 📝 `images/base/build-fedora/Dockerfile` (+8 -0) 📝 `images/base/build-fedora/overlay/entrypoint.sh` (+24 -1) 📝 `images/base/build-fedora/overlay/etc/cont-init.d/10-setup_user.sh` (+26 -6) ➕ `images/base/build-fedora/overlay/opt/gow/init.d/10-check_user.sh` (+31 -0) ➕ `images/base/build-fedora/overlay/opt/gow/init.d/15-check_devices.sh` (+21 -0) ➕ `images/base/build-fedora/overlay/opt/gow/init.d/30-nvidia.sh` (+140 -0) 📝 `images/base/build/Dockerfile` (+13 -0) 📝 `images/base/build/overlay/entrypoint.sh` (+24 -1) 📝 `images/base/build/overlay/etc/cont-init.d/10-setup_user.sh` (+26 -6) ➕ `images/base/build/overlay/opt/gow/init.d/10-check_user.sh` (+31 -0) ➕ `images/base/build/overlay/opt/gow/init.d/15-check_devices.sh` (+21 -0) ➕ `images/base/build/overlay/opt/gow/init.d/30-nvidia.sh` (+141 -0) 📝 `images/base/tests/smoke.sh` (+13 -5) 📝 `images/pulseaudio/build-fedora/Dockerfile` (+18 -9) 📝 `images/pulseaudio/build/Dockerfile` (+18 -9) 📝 `images/pulseaudio/tests/smoke.sh` (+9 -3) </details> ### 📄 Description on my system with running pulse as a rootless quadlet I'll get the error `error: failed switching to "root": operation not permitted` when launching the startup script. This makes it possible to start the container directly as the podman user, rather than using gosu to drop to pulse --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/gow#328
No description provided.