Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212876 - net-misc/rsync should have logrotate script.
Summary: net-misc/rsync should have logrotate script.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-09 23:34 UTC by Anton Bolshakov
Modified: 2009-11-30 20:30 UTC (History)
1 user (show)

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


Attachments
rsync logrotate script (rsync,139 bytes, text/plain)
2008-03-09 23:38 UTC, Anton Bolshakov
Details
dateext removed to be similar with other default log files (rsyncd.logrotate,126 bytes, text/plain)
2008-03-17 09:33 UTC, Anton Bolshakov
Details
logrotate USE flag added (rsync-3.0.0-r3.ebuild,2.25 KB, text/plain)
2008-03-17 09:34 UTC, Anton Bolshakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2008-03-09 23:34:56 UTC
Similar with redhat, debian and others I suggest to add logrotate use flag and script for rsync daemon.
Comment 1 Anton Bolshakov 2008-03-09 23:38:55 UTC
Created attachment 145706 [details]
rsync logrotate script

It could be good idea to rename the logfile to rsyncd.log as well.
Comment 3 Anton Bolshakov 2008-03-17 09:33:39 UTC
Created attachment 146385 [details]
dateext removed to be similar with other default log files
Comment 4 Anton Bolshakov 2008-03-17 09:34:42 UTC
Created attachment 146387 [details]
logrotate USE flag added
Comment 5 Anton Bolshakov 2008-03-17 09:37:18 UTC
Sorry for trouble. Could you review and update new files?
Comment 7 Anton Bolshakov 2008-03-17 14:02:26 UTC
Thanks. How about the proposed "logrotate" flag?
I noticed that some packages (vsftpd, for example) have it. Not a big deal, just out of curiosity.
Comment 8 SpanKY gentoo-dev 2008-03-17 14:11:10 UTC
the trend was to get rid of it rather than expand it
Comment 9 Terra 2009-11-30 20:30:18 UTC
The following line in rsyncd.logrotate will break Augeas parsing.

Broken: size=+1024k

I checked the logrotate man page, and did not see a '+' prefix being valid for 'size'.  The only one I saw was for 'tabooext'.

Fix:  size=1024k