[Error] Host audio volume changes when start a container
- Vorherrschende Sprache
- Go
- Sterne
- 13k
- Forks
- 541
- Ø Merge
- 20 Std. 47 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
**Describe the bug**
When starting a container using `distrobox enter`, the host system's audio volume is automatically set to a fixed value (41%).
**To Reproduce**
```bash
$ distrobox stop debian-12
$ distrobox enter debian-12
```
**Expected behavior**
The host audio volume should remain unchanged when entering a container.
**Logs**
[enter.log](https://github.com/user-attachments/files/25750530/enter.log)
[podman.log](https://github.com/user-attachments/files/25750536/podman.log)
**Desktop:**
- Container runtime: `podman`
- Podman version: `5.7.0`
- Distrobox version: `1.8.2.2` and `1.8.2.4` tested
- Host distribution: `NixOS 25.11`
- Installation method: nixpkgs/nixos-25.11 (1.8.2.2), nixpkgs/nixos-unstable (1.8.2.4)
**Additional context**
```bash
distrobox create --init --name debian-12 \
--image docker.io/library/debian:bookworm-backports \
--home $HOME/.local/share/distrobox/debian-12/home \
--additional-packages "nano systemd libpam-systemd pipewire-audio-client-libraries libnss3 libgtk-3-0 libasound2 pciutils" \
--additional-flags "--no-hosts"
```
Beitragsleitfaden
Rechercherichtung
Look at the distrobox enter command implementation, likely in a shell script, to see where audio volume might be manipulated. Check for interactions with PulseAudio or PipeWire. The logs (enter.log, podman.log) may show commands that change volume. Reproduce the issue locally to confirm the trigger. The fix will involve understanding container audio integration and host volume control.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- bash, docker, linux, shell
- Bereich
- audio-video-rtc, cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100