Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1231341
| From | Andrew Bower <andrew@bower.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1094965: wtmpdb: provides no way to prune rotated logs |
| Date | 2025-02-01 22:30 +0100 |
| Message-ID | <KbtdT-dDEI-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: wtmpdb Version: 0.13.0-5 Severity: normal wtmpdb will rotate logs but nothing will prune them (like logrotate would for other types of log - unfortunately it doesn't fit in well with the wtmpdb way). Also logs shouldn't be in a state directory like /var/lib. We can forgive the live database being there, perhaps. One solution I have in mind is: - add 'wtmpdb rotate --dest DIR' option - change timer/cron files to dump rotated files in /var/log - after rotation, prune files keeping a minimum age and count - configuration is by editing the unit/cron files I think we can set some long defaults - we just don't want unbounded accumulation!
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1094965: wtmpdb: provides no way to prune rotated logs Andrew Bower <andrew@bower.uk> - 2025-02-01 22:30 +0100
Bug#1094965: wtmpdb: provides no way to prune rotated logs Andrew Bower <andrew@bower.uk> - 2025-02-03 23:40 +0100
Bug#1094965: wtmpdb: provides no way to prune rotated logs Chris Hofstaedtler <zeha@debian.org> - 2025-02-04 00:00 +0100
Bug#1094965: wtmpdb: provides no way to prune rotated logs Andrew Bower <andrew@bower.uk> - 2025-02-04 01:40 +0100
Bug#1094965: wtmpdb: provides no way to prune rotated logs Chris Hofstaedtler <zeha@debian.org> - 2025-02-04 10:40 +0100
Bug#1094965: wtmpdb: provides no way to prune rotated logs Andrew Bower <andrew@bower.uk> - 2025-02-04 11:00 +0100
csiph-web