From 32c0c2eb97584416bd888c6c5196af26c17f17b1 Mon Sep 17 00:00:00 2001 From: Tom Noogen Date: Sat, 17 Feb 2018 14:10:26 -0600 Subject: [PATCH] aufs workaround --- rootfs/etc/my_init.d/startup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/my_init.d/startup.sh b/rootfs/etc/my_init.d/startup.sh index 7e13ba0..89f7ff3 100755 --- a/rootfs/etc/my_init.d/startup.sh +++ b/rootfs/etc/my_init.d/startup.sh @@ -6,7 +6,9 @@ if [ ! -f /home/admin/bin/my-startup.sh ]; then echo "[i] running for the 1st time" rsync --update -raz /vesta-start/* /vesta rsync --update -raz /sysprepz/home/* /home - +# work around for AUFS bug +# as per https://github.com/docker/docker/issues/783#issuecomment-56013588 + mkdir /etc/ssl/private-copy; mv /etc/ssl/private/* /etc/ssl/private-copy/; rm -r /etc/ssl/private; mv /etc/ssl/private-copy /etc/ssl/private; chmod -R 0700 /etc/ssl/private; chown -R postgres /etc/ssl/private # save some bytes, you can do it later # rm -rf /sysprepz # rm -rf /vesta-start