| Summary: | app-admin/logrotate weekly rotation does not work correctly because of GENTOO patch | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | ta2002 <throw_away_2002> |
| Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | kernelpanic, xmw |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://bugs.gentoo.org/show_bug.cgi?id=107906 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
ta2002
2010-08-01 23:52:37 UTC
Which version of logrotate is affected? (In reply to comment #1) > Which version of logrotate is affected? logrotate-3.7.1-r2, logrotate-3.7.7, and logrotate-3.7.8. $ grep weekly /usr/portage/app-admin/logrotate/logrotate-3.7.* /usr/portage/app-admin/logrotate/logrotate-3.7.1-r2.ebuild: epatch "${FILESDIR}"/${P}-weekly.patch /usr/portage/app-admin/logrotate/logrotate-3.7.7.ebuild: epatch "${FILESDIR}"/${P}-weekly.patch /usr/portage/app-admin/logrotate/logrotate-3.7.8.ebuild: "${FILESDIR}"/${PN}-3.7.7-weekly.patch \ The bug in 107906 is a much worse bug, so I'm not going to remove the patch unless that one is fixed. Unfortunately, I'm completely swamped right now, so I won't get to it for at least a week. If you can verify that the bug in 107906 is no longer an issue, I'll remove the patch immediately. (In reply to comment #3) > The bug in 107906 is a much worse bug, so I'm not going to remove the patch > unless that one is fixed. Unfortunately, I'm completely swamped right now, so > I won't get to it for at least a week. If you can verify that the bug in > 107906 is no longer an issue, I'll remove the patch immediately. Three comments. 1. I have no idea what the submitter of bug 107906 was talking about (did anyone attempt to duplicate this bug?). 2. A bug that did what he claimed would have been noticed elsewhere (every distribution uses logrotate, and no one else uses a patch like that). 3. Logrotate works fine as it is supposed to without the patch. One one machine, for example: ls -al /var/log/cron* /var/log/messages* -rw------- 1 root root 35549 2010-08-03 04:30:01 /var/log/cron -rw------- 1 root root 238 2010-07-14 03:10:01 /var/log/cron-20100714.gz -rw------- 1 root root 5049 2010-07-18 03:10:01 /var/log/cron-20100718.gz -rw------- 1 root root 8551 2010-07-25 03:10:03 /var/log/cron-20100725.gz -rw------- 1 root root 8383 2010-08-01 03:10:03 /var/log/cron-20100801.gz -rw------- 1 root root 106856 2010-08-02 17:44:59 /var/log/messages -rw------- 1 root root 39024 2010-07-12 03:10:02 /var/log/messages-20100712.gz -rw------- 1 root root 44053 2010-07-18 03:10:01 /var/log/messages-20100718.gz -rw------- 1 root root 54232 2010-07-25 03:10:02 /var/log/messages-20100725.gz -rw------- 1 root root 63435 2010-08-01 03:10:02 /var/log/messages-20100801.gz You can see when I re-installed it without the patch. Both sets of logs went to Sunday rotation (as they are supposed to) and have been rotated each Sunday afterwards (as they are supposed to). Hello Daniel can we get a (maybe masked) revbump for this to give it a try? Debugging things happening a weekly basis is quite annoying. Thanks, Michael (In reply to comment #4) > (In reply to comment #3) > > The bug in 107906 is a much worse bug, so I'm not going to remove the patch > > unless that one is fixed. Unfortunately, I'm completely swamped right now, so > > I won't get to it for at least a week. If you can verify that the bug in > > 107906 is no longer an issue, I'll remove the patch immediately. > > Three comments. > > 1. I have no idea what the submitter of bug 107906 was talking about (did > anyone attempt to duplicate this bug?). > > 2. A bug that did what he claimed would have been noticed elsewhere (every > distribution uses logrotate, and no one else uses a patch like that). > > 3. Logrotate works fine as it is supposed to without the patch. > > One one machine, for example: > > ls -al /var/log/cron* /var/log/messages* > -rw------- 1 root root 35549 2010-08-03 04:30:01 /var/log/cron > -rw------- 1 root root 238 2010-07-14 03:10:01 /var/log/cron-20100714.gz > -rw------- 1 root root 5049 2010-07-18 03:10:01 /var/log/cron-20100718.gz > -rw------- 1 root root 8551 2010-07-25 03:10:03 /var/log/cron-20100725.gz > -rw------- 1 root root 8383 2010-08-01 03:10:03 /var/log/cron-20100801.gz > -rw------- 1 root root 106856 2010-08-02 17:44:59 /var/log/messages > -rw------- 1 root root 39024 2010-07-12 03:10:02 /var/log/messages-20100712.gz > -rw------- 1 root root 44053 2010-07-18 03:10:01 /var/log/messages-20100718.gz > -rw------- 1 root root 54232 2010-07-25 03:10:02 /var/log/messages-20100725.gz > -rw------- 1 root root 63435 2010-08-01 03:10:02 /var/log/messages-20100801.gz > > You can see when I re-installed it without the patch. Both sets of logs went to > Sunday rotation (as they are supposed to) and have been rotated each Sunday > afterwards (as they are supposed to). > if I may add... 4. The patch logrotate-x.y.z-weekly breaks also logrotate -f behavior (no logs created/found). Fine without patch Still valid with 3.8.1? |