summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2018-11-10 12:04:54 +0000
committerJustin Lecher <jlec@gentoo.org>2018-11-10 13:25:36 +0000
commit00465fcf6c74c73407d7247a915354fd7c0d8cf6 (patch)
treed84cdf32f6853dfc6375f3f579c5942d91a8057c /sys-auth/munge/files
parentmedia-fonts/noto-emoji: Version bump, provide also the icons (diff)
downloadgentoo-00465fcf6c74c73407d7247a915354fd7c0d8cf6.tar.gz
gentoo-00465fcf6c74c73407d7247a915354fd7c0d8cf6.tar.bz2
gentoo-00465fcf6c74c73407d7247a915354fd7c0d8cf6.zip
sys-auth/munge: Fix munge.key permission problems
Closes: https://bugs.gentoo.org/624962 Signed-off-by: Justin Lecher <jlec@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sys-auth/munge/files')
-rw-r--r--sys-auth/munge/files/munged.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-auth/munge/files/munged.initd b/sys-auth/munge/files/munged.initd
index e028d4ffd166..6bb0a1097f25 100644
--- a/sys-auth/munge/files/munged.initd
+++ b/sys-auth/munge/files/munged.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
depend() {
@@ -25,7 +25,7 @@ start() {
checkpath -d -m 755 -o munge:munge /var/run/munge
checkpath -d -m 711 -o munge:munge /var/lib/munge
checkpath -d -m 700 -o munge:munge /var/log/munge
- checkpath -f -m 640 -o root:munge "${KEYFILE}"
+ checkpath -f -m 600 -o munge:munge "${KEYFILE}"
start-stop-daemon -S /usr/sbin/munged \
--user munge \
--group munge \