Skip to content
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

rfc8181_log_dir writable location test fails if logs exist for a CA called test #1169

Open
ximon18 opened this issue Dec 6, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ximon18
Copy link
Member

ximon18 commented Dec 6, 2023

$ journalctl -u krill
...
Nov 04 09:06:37 krill-testbed-main systemd[1]: Started Krill.
Nov 04 09:06:37 krill-testbed-main krill[2484896]: Cannot write to dir '/var/lib/krill/data/rfc8181/' for configuration setting 'rfc8181_log_dir', Error: context: Could not create file: /var/lib/krill/data/rfc8181/test, underlying io::Error: Is a directory (os error 21)
Nov 04 09:06:37 krill-testbed-main krill[2484896]: Hint: if you use systemd you may need to override the allowed ReadWritePaths,
Nov 04 09:06:37 krill-testbed-main krill[2484896]: the easiest way may be by doing 'systemctl edit krill' and add a section like:
Nov 04 09:06:37 krill-testbed-main krill[2484896]: [Service]
Nov 04 09:06:37 krill-testbed-main krill[2484896]: ReadWritePaths=/local/path1 /local/path2 ...
Nov 21 08:34:29 krill-testbed-main systemd[1]: krill.service: Main process exited, code=killed, status=9/KILL
Nov 21 08:34:29 krill-testbed-main systemd[1]: krill.service: Failed with result 'signal'.
Nov 21 08:34:39 krill-testbed-main systemd[1]: krill.service: Scheduled restart job, restart counter is at 2.
Nov 21 08:34:39 krill-testbed-main systemd[1]: Stopped Krill.
...
@ximon18 ximon18 added the bug Something isn't working label Dec 6, 2023
@ximon18
Copy link
Member Author

ximon18 commented Dec 6, 2023

This issue appears to have been introduced in 5934882 for issue #1132 which was included in the v0.8.0 release of Krill according to Git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant