Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 415911

Summary: /var/log/portage/ not owned by an ebuild
Product: Gentoo Linux Reporter: Christian Affolter <c.affolter>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement CC: dev-zero
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Affolter 2012-05-14 11:23:18 UTC
The directory /var/log/portage/elog and its parent /var/log/portage aren't owned by an ebuild. They're present within the stage3 tarball.

On prefixed ROOT=/path/to/chroot emerge [...] installations this directory needs to be created manually. It would be helpful if those directory would be created by an ebuild, such as sys-apps/portage.
Comment 1 Zac Medico gentoo-dev 2012-05-15 15:24:41 UTC
(In reply to comment #0)
> On prefixed ROOT=/path/to/chroot emerge [...] installations this directory
> needs to be created manually.

Why do you say that? They are supposed to be created automatically by portage.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2013-05-06 10:12:30 UTC
Portage installs a logrotate.d/ file referencing /var/log/portage/elog but doesn't create that directory. In case that directory is not created (for example on a prefix'ed install) logrotate gives an error about the missing directory.
Please 'keepdir' /var/log/portage/elog
Comment 3 Zac Medico gentoo-dev 2013-05-06 21:42:38 UTC
Thanks, this is fixed in cvs.