chronyd crash loop if Debian server is rebooted
This patch fixes the constant chrony container crash loop after (Debian 10) server is rebooted, as described in Bug-ID: #1915528. Due to permissions issue, before this fix is applied chronyd process will be exiting with root cause error message: Fatal error : Could not open configuration file /etc/chrony/chrony.conf : Permission denied This has to do with priviledges we configured for chrony. Relaxing them fixes the issue. Tested on top of stable/victoria and Debian 10 Buster. Not tested on CentOS/RHEL. If this does not work well on RHEL/CentOS we can maybe parametrise the owner and make it configurable (just one idea). Closes-Bug: #1915528 Change-Id: I71f45ba5b9d1d2227c95633d3de51e2ccd42a467
This commit is contained in:
parent
f00cd7b55f
commit
21ccae12f7
@ -4,8 +4,8 @@
|
||||
{
|
||||
"source": "{{ container_config_directory }}/chrony.conf",
|
||||
"dest": "/etc/chrony/chrony.conf",
|
||||
"owner": "chrony",
|
||||
"perm": "0600"
|
||||
"owner": "root",
|
||||
"perm": "0644"
|
||||
}
|
||||
],
|
||||
"permissions": [
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
chronyd crash loop if server is rebooted (Debian)
|
||||
`LP#1915528 <https://launchpad.net/bugs/1915528>`__
|
Loading…
Reference in New Issue
Block a user