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

Bug 90257

Summary: /usr/portage instead of /var/portage?
Product: Gentoo Linux Reporter: Fabiano Sidler <fabianosidler>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED LATER    
Severity: normal CC: m.debruijne
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabiano Sidler 2005-04-24 10:06:04 UTC
Finally, I could induce myself to post this issue:
On desktop systems, /usr probably resides on a single, writable mounted partition with the rest of the filesystem. On server systems, it is likely that /usr is swapped out to a separate, read-only mounted partition. This causes portage no longer to be allowed to write to /usr, unless the administrator remounts it rw, before syncing f.e., and then again remount it ro. I therefore suggest to change the default value for PORTDIR to /var/portage instead of /usr/portage.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-25 00:35:59 UTC
If you really need to mount /usr ro, then you can have a dedicated partition for /usr/portage mounted rw, no? 
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2005-04-25 01:18:22 UTC
I don't even want to imagine how many systems that would break. Personally I've moved it to /srv/portage/porttree, but for the general public I'd push this back until there are real changes to the repo structure warranting this.