Skip to content

[BUG] Regression with PUID support in v4.0.6 #284

Closed as not planned
Closed as not planned
@rpatterson

Description

@rpatterson

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The # transmission-daemon process is running as UID 911, not the UID specified in the PUID environment variable.

Expected Behavior

The # transmission-daemon process should run as the UID specified in the PUID environment variable.

Steps To Reproduce

  1. Take a working compose project that specifies the PUID environment variable
  2. Run it under v4.0.5, note that Transmission can write to files owned by the PUID
  3. Run it under v4.0.6, note that Transmission can no longer write to files owned by the PUID

Environment

  • OS:
# cat /etc/os-release
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os
  • How docker service was installed:
# dpkg -S $(which dockerd)
docker-ce: /usr/bin/dockerd
# apt policy docker-ce
docker-ce:
  Installed: 5:27.1.1-1~ubuntu.22.04~jammy
  Candidate: 5:27.1.1-1~ubuntu.22.04~jammy
  Version table:
 *** 5:27.1.1-1~ubuntu.22.04~jammy 500
        500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
        100 /var/lib/dpkg/status
...

CPU architecture

x86-64

Docker creation

https://gitlab.com/rpatterson/prunerr/-/blob/develop/docker-compose.yml?ref_type=heads#L8

Container logs

I no longer have the logs, but it printed something like /config/settings.json: permission denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions