net-dns/getdns stubby init script redirects its (stubby) runtime output to /var/log/stubby.log using the shell ">>" operator. However, a shell does not know that it has to reopen this file after it gets rotated by logrotate, resulting in stubby still outputting to a now-deleted old log file, effectively stopping the logging. Please add "copytruncate" to stubby logrotate config so logrotate will truncate this log file instead of removing it, fixing this issue.
Hello, If my pull request for maintaining this package again is merged, I’ll fix this.
(In reply to Quentin Retornaz from comment #1) > Hello, > If my pull request for maintaining this package again is merged, I’ll fix > this. Generally, you should tag the commits using Bug/Closes in the PR, and the bot will do it. And PRs to take over maintainership should usually include fixes to the package.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b20e9ec89067302993eb5380c509830967ff5e1a commit b20e9ec89067302993eb5380c509830967ff5e1a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-07-31 02:04:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-07-31 02:04:24 +0000 net-dns/getdns: add 'copytruncate' to logrotate configuration Closes: https://bugs.gentoo.org/719868 Signed-off-by: Sam James <sam@gentoo.org> net-dns/getdns/files/stubby.logrotate | 1 + 1 file changed, 1 insertion(+)