From 2077e291841a718597674ef77da023d1eb1b88e0 Mon Sep 17 00:00:00 2001 From: John Regan Date: Tue, 19 Feb 2019 11:49:11 -0500 Subject: [PATCH] bring fix-attrs call into cont-init.d script --- overlay-rootfs/etc/cont-init.d/{socklog => 9999-socklog} | 2 ++ overlay-rootfs/etc/fix-attrs.d/socklog | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) rename overlay-rootfs/etc/cont-init.d/{socklog => 9999-socklog} (85%) delete mode 100644 overlay-rootfs/etc/fix-attrs.d/socklog diff --git a/overlay-rootfs/etc/cont-init.d/socklog b/overlay-rootfs/etc/cont-init.d/9999-socklog similarity index 85% rename from overlay-rootfs/etc/cont-init.d/socklog rename to overlay-rootfs/etc/cont-init.d/9999-socklog index 7ef6352..f40ad8f 100755 --- a/overlay-rootfs/etc/cont-init.d/socklog +++ b/overlay-rootfs/etc/cont-init.d/9999-socklog @@ -10,3 +10,5 @@ if { s6-mkdir -p -m 0750 /var/log/socklog/mail } if { s6-mkdir -p -m 0750 /var/log/socklog/messages } if { s6-mkdir -p -m 0750 /var/log/socklog/secure } if { s6-mkdir -p -m 0750 /var/log/socklog/user } + +pipeline { s6-echo "/var/log/socklog true nobody:nogroup,32768:32768 0640 0750" } fix-attrs diff --git a/overlay-rootfs/etc/fix-attrs.d/socklog b/overlay-rootfs/etc/fix-attrs.d/socklog deleted file mode 100644 index 967aed4..0000000 --- a/overlay-rootfs/etc/fix-attrs.d/socklog +++ /dev/null @@ -1 +0,0 @@ -/var/log/socklog true nobody:nogroup,32768:32768 0640 0750