-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same UID and GID in passwd and groups for WEB and PIHOLE #1144
Comments
piggy backing off this, setting the uid looks to work, but gid does not. currently using this in kubernetes with the following configMap to be used as env variables:
PiHole UID changes to 0, but group does not. Output of cat /etc/passwd:
Start-up Logs:
|
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days. |
So, playing about with this, it appears that two users can have the same UID, but two groups cannot. Which is why attempting to set it to 0 fails, as Same thing if you use docker-pi-hole/src/s6/debian-root/usr/local/bin/_uid-gid-changer.sh Lines 32 to 35 in 0d5a001
E.g setting |
I have added some clarifying notes on the readme : |
Not being able to use 0 as GID or same WEB/PIHOLE ID is also pain in Qnap devices (admin uses 0/0 uid/gid) |
I'll take a look at that soon.
Originally posted by @dschaper in #328 (comment)
The text was updated successfully, but these errors were encountered: