1 |
On Friday 05 Aug 2011 23:08:38 Neil Bothwick wrote: |
2 |
> On Fri, 05 Aug 2011 17:59:00 +0200, Florian Philipp wrote: |
3 |
> > Yes, this was introduced in 3.8.0 to fix security issues [1]. Change |
4 |
> > your config to look like this: |
5 |
> > /var/log/portage/elog/summary.log { |
6 |
> > su portage portage |
7 |
> > ... |
8 |
> > } |
9 |
> > |
10 |
> > Disclaimer: I've not really tried this (yet) but I think I'm able to |
11 |
> > read changelogs and man-pages. ;-) |
12 |
> |
13 |
> Yes that fixes it. The latest portage ebuilds include an updated config |
14 |
> file. |
15 |
|
16 |
Hmm ... it still complains here! |
17 |
|
18 |
error: error setting owner of /var/log/portage/elog/summary.log-20110801.gz: |
19 |
Operation not permitted |
20 |
|
21 |
|
22 |
This is my /etc/logrotate.d/elog-save-summary: |
23 |
=================================== |
24 |
/var/log/portage/elog/summary.log { |
25 |
su portage portage |
26 |
missingok |
27 |
nocreate |
28 |
delaycompress |
29 |
} |
30 |
=================================== |
31 |
|
32 |
# ls -la /var/log/portage/elog/summary.log |
33 |
-rw-rw-r-- 1 root portage 4326 Aug 6 09:44 /var/log/portage/elog/summary.log |
34 |
|
35 |
Can you see anything amiss? |
36 |
-- |
37 |
Regards, |
38 |
Mick |