« Alpha Computer Geek // Planet Gentoo »
maintainer
Posted on May 24th, 2005 by Daniel
I’m now officially maintainer of app-admin/logrotate, my first package. It’s been quite interesting getting a new version of it together, and aggregating patches from various other distros. New features in logrotate-3.7.1:
- dotfiles in /etc/logrotate.d/ are now ignored. This means emerging packages that put files there doesn’t break logrotate before etc-update is run
- upstream fixes to ownership/permissions. Rotated files are now owned and permed like the original file.
- dateext is now supported. This means that rotated files can be tagged with the date of rotation, rather than numbered sequentially.
- maxage is now supported. This means that, when rotating a file, versions older than a certain age are removed.
Thank you very much
Did you also included the debian fixes?
e.g.:
logrotate-3.7.1-noTMPDIR.patch
If /tmp is mounted with the noexec flag, logrotate fails to exec the scripts.
Here is my list of fixes from local/portage:
#patches from SuSE 9.3 logrotate [1]
logrotate-dateext.dif #done
logrotate-fixes.dif #?
logrotate-maxage.dif #done
logrotate-moveout.dif #?
# Security patch (from Trustix)
# retains owner and mode of compressed logs
60-compressowner.dif #done
# debian do not use tmpfile to run script
logrotate-3.7.1-noTMPDIR.patch
sources:
[1] ftp://ftp.suse.com/pub/suse/i386/9.3/suse/src/logrotate-3.7-35.src.rpm
ftp://ftp.redhat.com/pub/redhat/code/logrotate/logrotate-%{version}.tar.gz
http://packages.qa.debian.org/l/logrotate.html
http://cvs.fedora.redhat.com/viewcvs/devel/logrotate/
http://bugs.gentoo.org/show_bug.cgi?id=35537
ftp://ftp.suse.com/pub/people/ro/logrotate/
http://forums.webspacesolutions.com/showthread.php?p=291#post291
BTW: where is the cvs module rhl with logrotate?
I don’t have the debian fix (I wasn’t able to find 3.7.1 for debian, thanks for the pointer), but I have all the rest of the fixes. The patches don’t match up 1-to-1, as I re-spun them to be able to apply them all to the raw tarball in seqence. For example, dateext, maxeage, and moveout from Suse are all in the single logrotate-3.7.1-dateext-maxage.patch. I’ll lok into that noTMPDIR patch from debian, and maybe roll another version.
BTW, I do have other debian fixes from 3.7-3
Thanks again.
So its save to update to gentoo ebuild i guess.
I’ve just uploaded 3.7.1-r1 that also has the no-tmpdir fix in it. It should be safe to use the stock ebuild now. If there’s anything else missing, please let me know.