diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-19 15:45:03 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-19 15:54:11 +0200 |
commit | b5b09eee6df283c120f9db459a61c9cc4828f59d (patch) | |
tree | ca6f6be655c604f302dade225e7b26f121833af7 /debian | |
parent | packaging: Set default permissions for /var/log/frr to 0755 (diff) | |
download | frr-b5b09eee6df283c120f9db459a61c9cc4828f59d.tar.xz frr-b5b09eee6df283c120f9db459a61c9cc4828f59d.zip |
packaging: Use 0640 (frr:frr) as permissions when running under logrotate
When we do "log file /var/log/frr/something", permissions are set to
0640 (frr:frr), but when the logrotate kicks in, we have 0640 (frr:frrvty).
I believe, we should have a consistent permissions.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/frr.logrotate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/frr.logrotate b/debian/frr.logrotate index a56a908bd..a5af25f03 100644 --- a/debian/frr.logrotate +++ b/debian/frr.logrotate @@ -4,7 +4,7 @@ missingok compress rotate 14 - create 640 frr frrvty + create 0640 frr frr postrotate pid=$(lsof -t -a -c /syslog/ /var/log/frr/* 2>/dev/null) |