diff options
author | 2023-04-17 00:35:38 +0200 | |
---|---|---|
committer | 2023-04-17 00:35:38 +0200 | |
commit | 32df79e74beff72d36dae363e53f2d16808c356a (patch) | |
tree | 61e4416476edfe4d8b2d3f18b58fc2bbdaad1245 /net-misc/ntpsec/files | |
parent | net-misc/ntpsec: Drop old (diff) | |
download | gentoo-32df79e74beff72d36dae363e53f2d16808c356a.tar.gz gentoo-32df79e74beff72d36dae363e53f2d16808c356a.tar.bz2 gentoo-32df79e74beff72d36dae363e53f2d16808c356a.zip |
net-misc/ntpsec: Fix logrotate config
Closes: https://bugs.gentoo.org/873514
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'net-misc/ntpsec/files')
-rw-r--r-- | net-misc/ntpsec/files/ntpsec-1.2.2-logrotate.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-misc/ntpsec/files/ntpsec-1.2.2-logrotate.patch b/net-misc/ntpsec/files/ntpsec-1.2.2-logrotate.patch new file mode 100644 index 000000000000..60152bc846c4 --- /dev/null +++ b/net-misc/ntpsec/files/ntpsec-1.2.2-logrotate.patch @@ -0,0 +1,26 @@ +From 4ba53b95a6a45f08f5d3436a4a3ba4f9a97146e2 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Mon, 17 Apr 2023 00:24:32 +0200 +Subject: [PATCH] Give ntpd a chance at re-opening the logfile as ntp:ntp after + rotation + +https://bugs.gentoo.org/873514 +--- + etc/logrotate-config.ntpd | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/etc/logrotate-config.ntpd b/etc/logrotate-config.ntpd +index b64998e..9144e57 100644 +--- a/etc/logrotate-config.ntpd ++++ b/etc/logrotate-config.ntpd +@@ -5,6 +5,7 @@ + + /var/log/ntpd.log { + monthly ++ create 640 ntp root + missingok + postrotate + /usr/bin/killall -HUP ntpd +-- +2.40.0 + |