* [gentoo-user] problem w/ portage tmp on nfs
@ 2006-07-04 18:37 Enrico Weigelt
2006-07-04 19:06 ` Daniel da Veiga
0 siblings, 1 reply; 3+ messages in thread
From: Enrico Weigelt @ 2006-07-04 18:37 UTC (permalink / raw
To: gentoo-user
Hi folks,
my gentoo-driven notebook has just a small harddisk, so moved
/var/tmp/portage to an nfs volume (directly mounted there).
This produces really strange problems, if the directory is
empty: portage cannot create the directory ../$pkg/temp,
but $pkg/ and several things beyond are created. Portage
aborts with an exception.
I suspect some permission problem.
Strange: when unmounting it, starting portage until it has created
the sourcetree, moving it away, remounting and moving the already-
prepared sourcetree to the now mounted nfs dir, works fine, also
with other packages following.
Does anyone have an idea what this can be ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] problem w/ portage tmp on nfs
2006-07-04 18:37 [gentoo-user] problem w/ portage tmp on nfs Enrico Weigelt
@ 2006-07-04 19:06 ` Daniel da Veiga
2006-07-05 13:20 ` Alan McKinnon
0 siblings, 1 reply; 3+ messages in thread
From: Daniel da Veiga @ 2006-07-04 19:06 UTC (permalink / raw
To: gentoo-user
On 7/4/06, Enrico Weigelt <weigelt@metux.de> wrote:
>
> Hi folks,
>
> my gentoo-driven notebook has just a small harddisk, so moved
> /var/tmp/portage to an nfs volume (directly mounted there).
> This produces really strange problems, if the directory is
> empty: portage cannot create the directory ../$pkg/temp,
> but $pkg/ and several things beyond are created. Portage
> aborts with an exception.
>
> I suspect some permission problem.
>
> Strange: when unmounting it, starting portage until it has created
> the sourcetree, moving it away, remounting and moving the already-
> prepared sourcetree to the now mounted nfs dir, works fine, also
> with other packages following.
>
>
> Does anyone have an idea what this can be ?
>
I have some portage stuff mounted with nfs, the only way for portage
to work with those dirs was to set "no_root_squash" at /etc/exports at
the host machine... I don't know why, even with full permissions,
portage refused to work.
But I was warned at the NFS howto that this kind of administrative
task would require this... So, I just setup some firewall rules and
enhanced security a bit...
--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] problem w/ portage tmp on nfs
2006-07-04 19:06 ` Daniel da Veiga
@ 2006-07-05 13:20 ` Alan McKinnon
0 siblings, 0 replies; 3+ messages in thread
From: Alan McKinnon @ 2006-07-05 13:20 UTC (permalink / raw
To: gentoo-user
On Tue, 2006-07-04 at 16:06 -0300, Daniel da Veiga wrote:
> I have some portage stuff mounted with nfs, the only way for portage
> to work with those dirs was to set "no_root_squash" at /etc/exports at
> the host machine... I don't know why, even with full permissions,
> portage refused to work.
Because even if portage is running as root on the local machine, portage
won't run with root permission on the remote machine when
accessing /usr/portage.
The only way to do that is to tell the remote machine to grant root
access *if* the client is running as root by using no_root_squash
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-05 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-04 18:37 [gentoo-user] problem w/ portage tmp on nfs Enrico Weigelt
2006-07-04 19:06 ` Daniel da Veiga
2006-07-05 13:20 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox