logrotate ownership problems

Adam Funk a24061 at ducksburg.com
Wed Sep 10 13:04:05 UTC 2014


On 2014-09-10, Oliver Grawert wrote:

> hi,
> Am Mittwoch, den 10.09.2014, 10:49 +0100 schrieb Adam Funk:
>> On 2014-09-09, Patrick Asselman wrote:
>> 
>> > And what does your /etc/logrotate.conf look like?
>> > It should have a "su root syslog" line apparently,
>> >
>> > https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1278193
>> 
>> File under "DUH".
>> 
>> It turns out both machines had /etc/logrotate.conf *and*
>> /etc/logrotate.conf.dpkg-dist files, where I forgot to check the
>> changes during a previous upgrade.  (My logrotate.conf file is
>> customized to do some rotations weekly & keep 5 instead of monthly &
>
> this is what the /etc/logrotate.d/ directory is for, just add your
> custom configs there and you will not run into problems with the default
> configs the package ships ;) 

Would a custom config in there override entries in
'/etc/logrotate.conf'?  The customizations in question are for
'/var/log/wtmp' & '/var/log/btmp', which are always in the dpkg-dist
config file.





More information about the ubuntu-users mailing list