[Piuparts-commits] [piuparts] 03/03: exception for logcheck chowning/chmodding others files
Holger Levsen
holger at layer-acht.org
Sun Sep 10 14:03:47 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 42acc54048a1ba07cbfb2928012616b23230f183
Author: Andreas Beckmann <anbe at debian.org>
Date: Sat Sep 9 23:33:05 2017 +0200
exception for logcheck chowning/chmodding others files
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
custom-scripts/scripts/post_purge_exceptions | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/custom-scripts/scripts/post_purge_exceptions b/custom-scripts/scripts/post_purge_exceptions
index cae98ab..bd6f17c 100755
--- a/custom-scripts/scripts/post_purge_exceptions
+++ b/custom-scripts/scripts/post_purge_exceptions
@@ -22,6 +22,17 @@ case ${PIUPARTS_OBJECTS%%=*} in
;;
esac
;;
+ logcheck|\
+ checksecurity)
+ case "$PIUPARTS_DISTRIBUTION" in
+ stretch)
+ if [ -f /etc/logcheck/ignore.d.server/libsasl2-modules ]; then
+ # logcheck chowns/chmods the /etc/logcheck tree
+ log_debug
+ chgrp -v root /etc/logcheck /etc/logcheck/ignore.d.server /etc/logcheck/ignore.d.server/libsasl2-modules
+ chmod -v g-s,o+rx /etc/logcheck/ignore.d.server/
+ fi
+ ;;
sasl2-bin|\
libapache2-mod-authn-sasl)
case "$PIUPARTS_DISTRIBUTION" in
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list