lxc_default_bind_mounts are now mounted before list_of_bind_mounts.
As a consequence, /var/log/ is now mounted before /var/log/log-storage/
in rsyslog containers.
Also, directory creation inside the container is now handled by LXC
(using the create=dir option) just before the directory gets mounted,
so mounting a subdirectory after a directory (such as
/var/log/log-storage/ and /var/log/) will work.
Reviewed: https:/ /review. openstack. org/408090 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=f219d90d8b8 5ed2c2c7a3771ee 1f8143f1065fa6
Committed: https:/
Submitter: Jenkins
Branch: master
commit f219d90d8b85ed2 c2c7a3771ee1f81 43f1065fa6
Author: Adrien Cunin <email address hidden>
Date: Wed Dec 7 14:23:54 2016 +0100
Process and mount default bind mounts first
lxc_ default_ bind_mounts are now mounted before list_of_ bind_mounts. log-storage/ log/log- storage/ and /var/log/) will work.
As a consequence, /var/log/ is now mounted before /var/log/
in rsyslog containers.
Also, directory creation inside the container is now handled by LXC
(using the create=dir option) just before the directory gets mounted,
so mounting a subdirectory after a directory (such as
/var/
Change-Id: I29be91b4dca5ab e1bb8307429a86c 06dbd3ef7aa
Closes-Bug: #1648065