fix: remove PUID/PGID env vars from ZNC container
LinuxServer s6-overlay requires starting as root to fix directory permissions (/run, etc.) before dropping privileges. Setting PUID/PGID forces immediate UID 1000 start, causing permission errors: "fatal: /run belongs to uid 0 instead of 1000" Let the container run as root with existing Polaris exemptions. The s6-overlay init system handles privilege management internally. Fixes CrashLoopBackOff in znc-0 pod. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -27,11 +27,6 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: znc
|
- name: znc
|
||||||
image: lscr.io/linuxserver/znc:latest
|
image: lscr.io/linuxserver/znc:latest
|
||||||
env:
|
|
||||||
- name: PUID
|
|
||||||
value: "1000"
|
|
||||||
- name: PGID
|
|
||||||
value: "1000"
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 6501
|
- containerPort: 6501
|
||||||
|
|||||||
Reference in New Issue
Block a user