From 4f070ec74f7fe18e612d67ff4b8052ddc898c9ca Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 26 Feb 2014 11:30:39 -0800 Subject: [PATCH] salt-minion/Dockerfile.template: Add 'need logger' to salt-minion init script Work around Gentoo's #502550 [1]. [1]: https://bugs.gentoo.org/show_bug.cgi?id=502550 --- salt-minion/Dockerfile.template | 1 + 1 file changed, 1 insertion(+) diff --git a/salt-minion/Dockerfile.template b/salt-minion/Dockerfile.template index f6acc1e..7f32d3d 100644 --- a/salt-minion/Dockerfile.template +++ b/salt-minion/Dockerfile.template @@ -55,6 +55,7 @@ RUN emerge -v app-admin/salt dev-python/git-python RUN eselect news read new RUN rc-update add salt-minion default +RUN sed -i 's|^\([[:space:]]*\)\(need net\)$|\1\2\n\1need logger|' /etc/init.d/salt-minion RUN sed -i 's|^#\(log_file: file:///dev/log\)|\1|' /etc/salt/minion RUN sed -i 's|^\(#log_level_logfile:.*\)$|\1\nlog_level_logfile: info|' /etc/salt/minion -- 2.26.2