-
Notifications
You must be signed in to change notification settings - Fork 51
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
IRRd won't start if the log file doesn't already exist #937
Labels
Comments
Sounds like a plausible cause, yes. |
mxsasha
added a commit
that referenced
this issue
Apr 25, 2024
mxsasha
added a commit
that referenced
this issue
Jan 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
On a fresh installation, IRRd will not start if the configured
logfile_path
does not exist. The error emitted is similar to:In this case,
/var/log/irrd/
exists, owner:group is irrd:irrd, uid 1000, gid 1000 - but the logfile itself is missing.This is counter to the documentation, which reads (emphasis mine):
To Reproduce
Start up with the logfile not existing already on disk.
Expected behaviour
Expected normal startup.
IRRd version you are running
4.4.3
Additional context
I believe this is a regression bug introduced in 4.3, probably by #666.
os.access()
can only return true here if the log file exists - write access to the enclosing directory isn't sufficient to satisfy this test.The text was updated successfully, but these errors were encountered: