Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896038 - net-misc/frr-8.4.1: log file is empty after logrotate
Summary: net-misc/frr-8.4.1: log file is empty after logrotate
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alarig Le Lay
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-23 14:45 UTC by Victor Costache
Modified: 2024-10-02 09:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Costache 2023-02-23 14:45:38 UTC
The current version (net-misc/frr-8.4.1) and previous ones (8.2.2 and 8.1-r1) have the same issue: the /var/log/frr/frr.log file is empty after the first logrotate.

Here is the relevant snippet from /etc/logrotate.d/frr:

/var/log/frr/frr.log {
    su frr frr
    notifempty
    missingok
    postrotate
        /bin/kill -HUP `cat /var/run/*syslog*.pid 2> /dev/null` 2> /dev/null || true
    endscript
}

cat /var/run/*syslog*.pid returns "No such file or directory"
Comment 1 Jaco Kroon 2024-10-02 09:54:19 UTC
Logrotate file looks drastically different now, looking at 9.1.2 at least (about to push), can we mark this as obsolete?