commit: 29e659f9fb78507ef224335b67cf4a2c5b9382b9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 23:16:44 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 00:43:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29e659f9
net-misc/chrony: fowners/fperms tweak
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/chrony/chrony-4.3.ebuild | 6 +++---
net-misc/chrony/chrony-9999.ebuild | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/net-misc/chrony/chrony-4.3.ebuild
b/net-misc/chrony/chrony-4.3.ebuild
index c52e4bdbf30f..f8e842d67fb0 100644
--- a/net-misc/chrony/chrony-4.3.ebuild
+++ b/net-misc/chrony/chrony-4.3.ebuild
@@ -178,8 +178,8 @@ src_install() {
# Prepare a directory for the chrony.drift file (a la ntpsec)
# Ensures the environment is sane on new installs
# bug #711058
- fowners ntp:ntp /var/{lib,log}/chrony
- fperms 770 /var/lib/chrony
+ fowners -R ntp:ntp /var/{lib,log}/chrony
+ fperms -R 770 /var/lib/chrony
fi
insinto /etc/logrotate.d
@@ -243,7 +243,7 @@ pkg_postinst() {
if [[ ${show_seccomp_enable_msg} -eq 1 ]] ; then
elog "To enable seccomp in a stricter mode, please modify:"
- elog "- /etc/conf.d/chronyd for OpenRC"
+ elog "- ${EROOT}/etc/conf.d/chronyd for OpenRC"
elog "- systemctl edit chronyd for systemd"
elog "to use -F 1 or -F -1 instead of -F 2 (see man chronyd)"
elog "By default, we now use -F 2 which is a baseline/minimal
filter."
diff --git a/net-misc/chrony/chrony-9999.ebuild
b/net-misc/chrony/chrony-9999.ebuild
index c52e4bdbf30f..f8e842d67fb0 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -178,8 +178,8 @@ src_install() {
# Prepare a directory for the chrony.drift file (a la ntpsec)
# Ensures the environment is sane on new installs
# bug #711058
- fowners ntp:ntp /var/{lib,log}/chrony
- fperms 770 /var/lib/chrony
+ fowners -R ntp:ntp /var/{lib,log}/chrony
+ fperms -R 770 /var/lib/chrony
fi
insinto /etc/logrotate.d
@@ -243,7 +243,7 @@ pkg_postinst() {
if [[ ${show_seccomp_enable_msg} -eq 1 ]] ; then
elog "To enable seccomp in a stricter mode, please modify:"
- elog "- /etc/conf.d/chronyd for OpenRC"
+ elog "- ${EROOT}/etc/conf.d/chronyd for OpenRC"
elog "- systemctl edit chronyd for systemd"
elog "to use -F 1 or -F -1 instead of -F 2 (see man chronyd)"
elog "By default, we now use -F 2 which is a baseline/minimal
filter."