Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't fetch distfiles in chroot
Date: Thu, 26 Apr 2018 08:12:37
Message-Id: 2036415.Dg5CQ1W0eh@peak
In Reply to: Re: [gentoo-user] Can't fetch distfiles in chroot by Peter Humphrey
1 On Thursday, 26 April 2018 08:59:22 BST Peter Humphrey wrote:
2 > On Tuesday, 24 April 2018 09:43:35 BST Peter Humphrey wrote:
3 > > On Sunday, 22 April 2018 06:13:30 BST Peter Humphrey wrote:
4 > > > I've been NFS-exporting the portage treee from a 32-bit atom box to a
5 > > > chroot on my workstation, and it's worked well for years, if slowly.
6 > > >
7 > > > Now when I try to do the same with a 64-bit celeron machine I'm having a
8 > > > problem getting portage to work. If the required distfile is already
9 > > > present, no problem, but otherwise, trying to fetch it just hangs. No
10 > > > errors, no status, no fetch log, no progress.
11 > > >
12 > > > Www-client/links works in the chroot as expected, so the network is set
13 > > > up
14 > > > all right; portage just can't use it.
15 > > >
16 > > > I've compared /etc/exports on the two clients; also the chroot setup
17 > > > scripts, /usr/portage permissions, the USE flags of nfs-utils and
18 > > > everything else I can think of. All identical apart from obvious things
19 > > > like 32/64 bits and network names and IPs. Google hasn't helped either.
20 > > >
21 > > > Any ideas, anyone?
22 > >
23 > > Never mind. I've rebuilt the chroot from stage 3 and it seems to be
24 > > working
25 > > fine.
26 >
27 > The appearance was deceptive; all the distfiles needed must have been
28 > present already. Today, one wasn't and the fetching process hung and had to
29 > be killed.
30 >
31 > So, again, what could possibly prevent portage from seeing the network
32 > inside a chroot, while other programs use it just the same as always?
33
34 So, again, I went off half-cocked (sorry about the noise). The problem is that
35 the NFS mount in the chroot picks different ports each time, so the client's
36 firewall drops all NFS packets.
37
38 Now I just have to find out why that happens.
39
40 --
41 Regards,
42 Peter.

Replies

Subject Author
Re: [gentoo-user] Can't fetch distfiles in chroot Tom H <tomh0665@×××××.com>