Closed pops64 closed 2 weeks ago
@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:
Unbound doesn't run as root, it runs as nonrootuser
with uid and gid 1000
.
Why are you fiddling with permissions? The Gluetun program (running as root) creates /etc/unbound and sets ownership and permissions correctly by default:
I am only fiddling with permissions because the default owner:group is not root and because of weird ZFS/ACL/Linux interface root doesn't trump owner:group. The only thing I made sure was that root was in the same group as the ZFS shares. So it wouldn't be interfered with.
Also theses are the permissions set by Gluetun for the unbound for some reason Gluetun is not setting pid and uid to root for this folder which shouldn't causes an issue because other has r-x perms
[*****@*****~]$ docker exec gluetun ls -l /etc | grep unbound
drwxr-xr-x 1 nonrootu 1000 6 Jul 27 04:24 unbound
Also here are the perms for the file it is trying to acesss
[****@**** ****]$ docker exec gluetun ls -l /etc/unbound/root.hints
-rw-r----- 1 root root 3310 Jul 15 16:33 /etc/unbound/root.hints
I suggest you try image qmcgaw/gluetun:pr-1742
(see PR #1742 and issue #137). This is ready to be used pretty much, but I'm waiting to do a v3.39.0 release before removing Unbound. It's just DNSSEC validation is dropped (for the time being), but it's really not something THAT useful (I nearly completed a full implementation at https://github.com/qdm12/dns/pull/97 I know what I'm talking about 🤣)
This PR mentioned just got merged, so there is no Unbound anymore, closing this as a consequence.
Closed issues are NOT monitored, so commenting here is likely to be not seen. If you think this is still unresolved and have more information to bring, please create another issue.
This is an automated comment setup because @qdm12 is the sole maintainer of this project which became too popular to monitor issues closed.
Is this urgent?
No
Host OS
Arch
CPU arch
x86_64
VPN service provider
ProtonVPN
What are you using to run the container
docker-compose
What is the version of Gluetun
Running version latest built on 2024-07-12T19:57:02.146Z (commit 9d50c23)
What's the problem 🤔
Getting permission denied errors to root hints. Docker volumes are running on top of ZFS. I have ensure root user has permissions to ZFS share. With no effect
Share your logs (at least 10 lines)
Share your configuration