-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
fatal error: could not open autotrust file for writing, /root.key.10018-0-16059b0: Permission denied #1178
Comments
Running through strace, we see getpid() in an infinite loop.
Eventually we see the following:
|
I believe that the list of The Is there perhaps a location in the man page that was looked at where a note can be added to help users find out about the directory ownership and permissions needed? Some people install from packages that set this up for them, and often relocate the directories to different locations on the file system. |
Describe the bug
Startup of unbound fails, unbound logs the following:
Nov 9 11:49:36 rocky9 unbound[10018]: [10018:0] fatal error: could not open autotrust file for writing, /root.key.10018-0-16059b0: Permission denied
To reproduce
Steps to reproduce the behavior:
Expected behavior
Unbound server runs in the foreground.
System:
unbound -V
output:[root@rocky9 unbound]# /usr/local/sbin/unbound -V
Version 1.22.0
Configure line:
Linked libs: mini-event internal (it uses select), OpenSSL 3.0.7 1 Nov 2022
Linked modules: dns64 respip validator iterator
BSD licensed, see LICENSE in source package for details.
Report bugs to [email protected] or https://github.com/NLnetLabs/unbound/issues
Additional information
It looks like the location of the temporary file and the auto-trust-anchor-file are different somehow.
The text was updated successfully, but these errors were encountered: