Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220171 - sys-apps/portage-2.1.4.4 and app-portage/gentoolkit-0.2.3-r1 try to access lost+found
Summary: sys-apps/portage-2.1.4.4 and app-portage/gentoolkit-0.2.3-r1 try to access lo...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 216231
  Show dependency tree
 
Reported: 2008-05-03 21:44 UTC by Florian Philipp
Modified: 2008-05-06 08:42 UTC (History)
0 users

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 Florian Philipp 2008-05-03 21:44:06 UTC
When /var/db/pkg or the portage tree lie on their own logical volumes or partitions and a lost+found-directory is created, emerge and gentoolkit's utilities (tested with glsa-check and equery) try to access that directory. This makes it impossible to use these tools with an ordinary member of the portage-group because he/she doesn't has the right to access lost+found.

Reproducible: Always

Steps to Reproduce:
To trigger it with emerge:
1. Put your portage tree on a separate ext2-filesystem and run e2fsck -f on it; or `mkdir /usr/portage/lost+found && chown root:root /usr/portage/lost+found && chmod 700 /usr/portage/lost+found`
2. `emerge -pv portage` as a user in the portage-group

Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies \Permission denied: '/srv/portage/lost+found'

Expected Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/portage-2.1.4.4  USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 368 kB 

Total: 1 package (1 reinstall), Size of downloads: 368 kB
Comment 1 Zac Medico gentoo-dev 2008-05-06 08:42:13 UTC
This is fixed in 2.1.5_rc7.