commit fda520f825329e3d9199481c3f8de8f7d5730366
Author: Michal Arbet <email address hidden>
Date: Mon Jun 8 11:12:19 2020 +0200
Remove chrony package if containerized chrony is enabled
This patch is removing chrony package
from docker host when containerized chrony is enabled.
It is also fixing issue with chrony container running
under Ubuntu docker host as noted below.
+ exec /usr/sbin/chronyd -d -f /etc/chrony/chrony.conf
2020-06-08T08:19:09Z chronyd version 3.4 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
2020-06-08T08:19:09Z Fatal error : Could not open configuration file /etc/chrony/chrony.conf : Permission denied
Added also removal apparmor profile for ubuntu when
containerized chrony is enabled, as chrony's package
is not removing apparmor profile, and therefore
containerized chrony is not working.
Change-Id: Icf3bbae38b9f5630b69d5c8cf6a8bee11786a836
Closes-Bug: #1882513
(cherry picked from commit 3d747b720051ed053f2e36b5679862b92265443b)
Reviewed: https:/ /review. opendev. org/735664 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=fda520f8253 29e3d9199481c3f 8de8f7d5730366
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit fda520f825329e3 d9199481c3f8de8 f7d5730366
Author: Michal Arbet <email address hidden>
Date: Mon Jun 8 11:12:19 2020 +0200
Remove chrony package if containerized chrony is enabled
This patch is removing chrony package
from docker host when containerized chrony is enabled.
It is also fixing issue with chrony container running
under Ubuntu docker host as noted below.
+ exec /usr/sbin/chronyd -d -f /etc/chrony/ chrony. conf 06-08T08: 19:09Z chronyd version 3.4 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG) 06-08T08: 19:09Z Fatal error : Could not open configuration file /etc/chrony/ chrony. conf : Permission denied
2020-
2020-
Added also removal apparmor profile for ubuntu when
containerized chrony is enabled, as chrony's package
is not removing apparmor profile, and therefore
containerized chrony is not working.
Change-Id: Icf3bbae38b9f56 30b69d5c8cf6a8b ee11786a836 53f2e36b5679862 b92265443b)
Closes-Bug: #1882513
(cherry picked from commit 3d747b720051ed0