Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415911 - /var/log/portage/ not owned by an ebuild
Summary: /var/log/portage/ not owned by an ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2012-05-14 11:23 UTC by Christian Affolter
Modified: 2013-05-06 21:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.