On Friday 05 Aug 2011 23:08:38 Neil Bothwick wrote:
> On Fri, 05 Aug 2011 17:59:00 +0200, Florian Philipp wrote:
> > Yes, this was introduced in 3.8.0 to fix security issues [1]. Change
> > your config to look like this:
> > /var/log/portage/elog/summary.log {
> > su portage portage
> > ...
> > }
> > 
> > Disclaimer: I've not really tried this (yet) but I think I'm able to
> > read changelogs and man-pages. ;-)
> 
> Yes that fixes it. The latest portage ebuilds include an updated config
> file.

Hmm ... it still complains here!

error: error setting owner of /var/log/portage/elog/summary.log-20110801.gz: 
Operation not permitted


This is my /etc/logrotate.d/elog-save-summary:
===================================
/var/log/portage/elog/summary.log {
 su portage portage
    missingok
    nocreate
    delaycompress
}
===================================

# ls -la /var/log/portage/elog/summary.log
-rw-rw-r-- 1 root portage 4326 Aug  6 09:44 /var/log/portage/elog/summary.log

Can you see anything amiss?
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to