From 29e659f9fb78507ef224335b67cf4a2c5b9382b9 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 30 Oct 2022 23:16:44 +0000 Subject: net-misc/chrony: fowners/fperms tweak Signed-off-by: Sam James --- net-misc/chrony/chrony-4.3.ebuild | 6 +++--- net-misc/chrony/chrony-9999.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'net-misc') 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." -- cgit v1.2.3-65-gdbad