public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] NFS mounting
@ 2024-10-18 13:41 Peter Humphrey
  2024-10-18 14:55 ` Michael
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Peter Humphrey @ 2024-10-18 13:41 UTC (permalink / raw
  To: gentoo-user

Greetings,

Let me try this again.

Why should an NFS server wait 15 seconds before reporting "No such file or 
directory"?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-18 13:41 [gentoo-user] NFS mounting Peter Humphrey
@ 2024-10-18 14:55 ` Michael
  2024-10-21  2:12   ` Peter Humphrey
  2024-10-18 15:40 ` Jack Ostroff
  2024-10-18 16:50 ` [gentoo-user] " Grant Edwards
  2 siblings, 1 reply; 17+ messages in thread
From: Michael @ 2024-10-18 14:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]

On Friday 18 October 2024 14:41:03 BST Peter Humphrey wrote:
> Greetings,
> 
> Let me try this again.
> 
> Why should an NFS server wait 15 seconds before reporting "No such file or
> directory"?

I couldn't find anything conspicuously wrong in your setup, but I don't have 
much in depth experience working with NFS.  A 15 second delay seems excessive 
to me.  Even with resource constrained servers and powered down disks I don't 
see more than 5 seconds delay here.

Whenever I had an error like yours, I traced it down to some typo, gratuitous 
use of space in the syntax, or some omission in my /etc/exports file.  As I 
was reading your post I thought you could have missed using 'mount --bind' for 
your /mnt/nfs/portage to /var/ on i5, but you posted you are able to list your 
portage tree files within it.  So this is not the cause of the problem.

Differences I noticed compared to my typical setup are:

1. I define a subnet, in addition to the single client's IP address - e.g. 
192.168.178.7/255.255.255.254.
2. I do not use 'nohide'. In your case you mount each directory explicitly and 
they are probably both on the same partition/fs(?), so what purpose does 
nohide serve?
3. Will all requests come from sub-1024 port numbers, or will some strict/
obscure firewalling cause problems since you specify 'secure'?  Some domestic 
routers try to be too clever by half in this respect.  Try setting your 
exports with 'insecure' to see if it makes any difference.

Whenever you change any settings in your exports file remember to run:

exportfs -rav

You could try tweaking the above options in case it makes a difference.  
However, if the *same* settings worked with a previous client, then I can't 
logically explain why they fail now.  :-/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-18 13:41 [gentoo-user] NFS mounting Peter Humphrey
  2024-10-18 14:55 ` Michael
@ 2024-10-18 15:40 ` Jack Ostroff
  2024-10-18 16:50 ` [gentoo-user] " Grant Edwards
  2 siblings, 0 replies; 17+ messages in thread
From: Jack Ostroff @ 2024-10-18 15:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]

On 10/18/24 9:41 AM, Peter Humphrey wrote:
> Greetings,
>
> Let me try this again.
>
> Why should an NFS server wait 15 seconds before reporting "No such file or
> directory"?
Are there any errors in the log on the server? Increasing the verbosity 
of the log there might be informative.

[-- Attachment #2: Type: text/html, Size: 653 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user] Re: NFS mounting
  2024-10-18 13:41 [gentoo-user] NFS mounting Peter Humphrey
  2024-10-18 14:55 ` Michael
  2024-10-18 15:40 ` Jack Ostroff
@ 2024-10-18 16:50 ` Grant Edwards
  2 siblings, 0 replies; 17+ messages in thread
From: Grant Edwards @ 2024-10-18 16:50 UTC (permalink / raw
  To: gentoo-user

On 2024-10-18, Peter Humphrey <peter@prh.myzen.co.uk> wrote:

> Why should an NFS server wait 15 seconds before reporting "No such file or 
> directory"?

I don't remember this happenning with NFS servers specifically, but
I've seen odd delays like this in other services when the server (or
client) tries to do a reverse-DNS lookup to turn the client IP address
into a hostname for logging (or whatever). You could try adding the
client name/IP address to /etc/hosts on the server and vice/versa.

--
Grant





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-18 14:55 ` Michael
@ 2024-10-21  2:12   ` Peter Humphrey
  2024-10-21  5:47     ` William Kenworthy
  2024-10-21  8:22     ` Michael
  0 siblings, 2 replies; 17+ messages in thread
From: Peter Humphrey @ 2024-10-21  2:12 UTC (permalink / raw
  To: gentoo-user

On Friday 18 October 2024 15:55:19 BST Michael wrote:

--->8

> exportfs -rav

Ah! I knew about 'exportfs -r' but not the 'av'. When I added that I got this:

exportfs: duplicated export entries:
exportfs:       :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250)
exportfs:       :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250)
exporting :/mnt/nfs/portage.packages
exporting :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250)
exportfs: Failed to stat 192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250): No such file or directory
exporting :/mnt/nfs/portage
exporting :192.168.178.7(rw,sync,no_subtree_check,crossmnt,fsid=0)
exportfs: Failed to stat 192.168.178.7(rw,sync,no_subtree_check,crossmnt,fsid=0): No such file or directory

Of course there's a duplicate export entry; I'm exporting two directories to
the one machine. Well, three actually, counting the top-level one, /mnt/nfs.
But is that duplication the cause of the 'Failed to stat...'?

Do I need to set some opotions on an rpc service, or something?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-21  2:12   ` Peter Humphrey
@ 2024-10-21  5:47     ` William Kenworthy
  2024-10-21  8:22     ` Michael
  1 sibling, 0 replies; 17+ messages in thread
From: William Kenworthy @ 2024-10-21  5:47 UTC (permalink / raw
  To: gentoo-user


On 21/10/24 10:12, Peter Humphrey wrote:
> On Friday 18 October 2024 15:55:19 BST Michael wrote:
>
> --->8
>
>> exportfs -rav
> Ah! I knew about 'exportfs -r' but not the 'av'. When I added that I got this:
>
> exportfs: duplicated export entries:
> exportfs:       :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250)
> exportfs:       :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250)
> exporting :/mnt/nfs/portage.packages
> exporting :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250)
> exportfs: Failed to stat 192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250): No such file or directory
> exporting :/mnt/nfs/portage
> exporting :192.168.178.7(rw,sync,no_subtree_check,crossmnt,fsid=0)
> exportfs: Failed to stat 192.168.178.7(rw,sync,no_subtree_check,crossmnt,fsid=0): No such file or directory
>
> Of course there's a duplicate export entry; I'm exporting two directories to
> the one machine. Well, three actually, counting the top-level one, /mnt/nfs.
> But is that duplication the cause of the 'Failed to stat...'?
>
> Do I need to set some opotions on an rpc service, or something?
>
Are you running a firewall - if so turn it off (on both machines) and 
test.  If that's the cause, you might have to pin the nfs ports.

BillK




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-21  2:12   ` Peter Humphrey
  2024-10-21  5:47     ` William Kenworthy
@ 2024-10-21  8:22     ` Michael
  2024-10-22  1:10       ` Peter Humphrey
  1 sibling, 1 reply; 17+ messages in thread
From: Michael @ 2024-10-21  8:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]

On Monday 21 October 2024 03:12:23 BST Peter Humphrey wrote:
> On Friday 18 October 2024 15:55:19 BST Michael wrote:
> 
> --->8
> 
> > exportfs -rav
> 
> Ah! I knew about 'exportfs -r' but not the 'av'. When I added that I got
> this:
> 
> exportfs: duplicated export entries:
> exportfs:      
> :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,ano
> ngid=250) exportfs:      
> :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,ano
> ngid=250) exporting :/mnt/nfs/portage.packages
> exporting
> :192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,ano
> ngid=250) exportfs: Failed to stat
> 192.168.178.7(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anon
> gid=250): No such file or directory exporting :/mnt/nfs/portage
> exporting :192.168.178.7(rw,sync,no_subtree_check,crossmnt,fsid=0)
> exportfs: Failed to stat
> 192.168.178.7(rw,sync,no_subtree_check,crossmnt,fsid=0): No such file or
> directory
> 
> Of course there's a duplicate export entry; I'm exporting two directories to
> the one machine. Well, three actually, counting the top-level one,
> /mnt/nfs. But is that duplication the cause of the 'Failed to stat...'?
> 
> Do I need to set some opotions on an rpc service, or something?

Assuming all required directories are on the same fs, what happens if you 
*only* export the parent directory?  Something like this:

/mnt/nfs \ 
192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,anongid=250)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-21  8:22     ` Michael
@ 2024-10-22  1:10       ` Peter Humphrey
  2024-10-22  9:14         ` Michael
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Humphrey @ 2024-10-22  1:10 UTC (permalink / raw
  To: gentoo-user

On Monday 21 October 2024 09:22:37 BST Michael wrote:

> Assuming all required directories are on the same fs, what happens if you
> *only* export the parent directory?  Something like this:
> 
> /mnt/nfs \
> 192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,an
> ongid=250)

Actually, the converse turned out to be right. Removing the top-level /mnt/nfs 
spec from /etc/exports allowed the whole thing to spring into life.

Go figure, as they say in the colonies.  ;)

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-22  1:10       ` Peter Humphrey
@ 2024-10-22  9:14         ` Michael
  2024-10-22 12:00           ` Peter Humphrey
  0 siblings, 1 reply; 17+ messages in thread
From: Michael @ 2024-10-22  9:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

On Tuesday 22 October 2024 02:10:45 BST Peter Humphrey wrote:
> On Monday 21 October 2024 09:22:37 BST Michael wrote:
> > Assuming all required directories are on the same fs, what happens if you
> > *only* export the parent directory?  Something like this:
> > 
> > /mnt/nfs \
> > 192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonuid=250,
> > an ongid=250)
> 
> Actually, the converse turned out to be right. Removing the top-level
> /mnt/nfs spec from /etc/exports allowed the whole thing to spring into
> life.
> 
> Go figure, as they say in the colonies.  ;)

I'm glad you 'figured' this, although puzzled by your solution.  In my 
experience I only needed to export one directory only as the top directory, 
for each different partition.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-22  9:14         ` Michael
@ 2024-10-22 12:00           ` Peter Humphrey
  2024-10-22 13:36             ` Michael
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Humphrey @ 2024-10-22 12:00 UTC (permalink / raw
  To: gentoo-user

On Tuesday 22 October 2024 10:14:48 BST Michael wrote:
> On Tuesday 22 October 2024 02:10:45 BST Peter Humphrey wrote:
> > On Monday 21 October 2024 09:22:37 BST Michael wrote:
> > > Assuming all required directories are on the same fs, what happens if
> > > you
> > > *only* export the parent directory?  Something like this:
> > > 
> > > /mnt/nfs \
> > > 192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonuid=25
> > > 0,
> > > an ongid=250)
> > 
> > Actually, the converse turned out to be right. Removing the top-level
> > /mnt/nfs spec from /etc/exports allowed the whole thing to spring into
> > life.
> > 
> > Go figure, as they say in the colonies.  ;)
> 
> I'm glad you 'figured' this, although puzzled by your solution.  In my
> experience I only needed to export one directory only as the top directory,
> for each different partition.

I followed the Gentoo NFS wiki page, which says "this article demonstrates a 
best-practice NFSv4 deployment using a virtual root".

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-22 12:00           ` Peter Humphrey
@ 2024-10-22 13:36             ` Michael
  2024-10-22 17:01               ` Matt Jolly
  0 siblings, 1 reply; 17+ messages in thread
From: Michael @ 2024-10-22 13:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1462 bytes --]

On Tuesday 22 October 2024 13:00:14 BST Peter Humphrey wrote:
> On Tuesday 22 October 2024 10:14:48 BST Michael wrote:
> > On Tuesday 22 October 2024 02:10:45 BST Peter Humphrey wrote:
> > > On Monday 21 October 2024 09:22:37 BST Michael wrote:
> > > > Assuming all required directories are on the same fs, what happens if
> > > > you
> > > > *only* export the parent directory?  Something like this:
> > > > 
> > > > /mnt/nfs \
> > > > 192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonuid=
> > > > 25
> > > > 0,
> > > > an ongid=250)
> > > 
> > > Actually, the converse turned out to be right. Removing the top-level
> > > /mnt/nfs spec from /etc/exports allowed the whole thing to spring into
> > > life.
> > > 
> > > Go figure, as they say in the colonies.  ;)
> > 
> > I'm glad you 'figured' this, although puzzled by your solution.  In my
> > experience I only needed to export one directory only as the top
> > directory,
> > for each different partition.
> 
> I followed the Gentoo NFS wiki page, which says "this article demonstrates a
> best-practice NFSv4 deployment using a virtual root".

If you are referring to the NFS-utils wiki page:

https://wiki.gentoo.org/wiki/Nfs-utils

it provides an example of exporting two *different* partitions:

Device       Mount directory     Description
/dev/sdb1	   /home               Filesystem containing user home directories.
/dev/sdc1	   /data               Filesystem containing user data.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-22 13:36             ` Michael
@ 2024-10-22 17:01               ` Matt Jolly
  2024-10-22 19:29                 ` Michael
  0 siblings, 1 reply; 17+ messages in thread
From: Matt Jolly @ 2024-10-22 17:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/html, Size: 2919 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-22 17:01               ` Matt Jolly
@ 2024-10-22 19:29                 ` Michael
  2024-10-22 21:07                   ` Peter Humphrey
  0 siblings, 1 reply; 17+ messages in thread
From: Michael @ 2024-10-22 19:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2059 bytes --]

On Tuesday 22 October 2024 18:01:55 BST Matt Jolly wrote:
> It should not matter; the virtual root involves bind mounting directories
> into a single location - that could be 4 different partitions, a bunch of
> subvolumes, or some directories scattered across a single partition, or
> some combination of those options.
> 
> 
> Cheers,
> 
> 
> Matt

All good and fair, but then why Peter's reported error of duplicate exports?


> On 22 Oct 2024 23:36, Michael <confabulate@kintzios.com> wrote:
> 
> On Tuesday 22 October 2024 13:00:14 BST Peter Humphrey wrote:
> > On Tuesday 22 October 2024 10:14:48 BST Michael wrote:
> > > On Tuesday 22 October 2024 02:10:45 BST Peter Humphrey wrote:
> > > > On Monday 21 October 2024 09:22:37 BST Michael wrote:
> > > > > Assuming all required directories are on the same fs, what happens
> > > > > if
> > > > > you
> > > > > *only* export the parent directory?  Something like this:
> > > > > 
> > > > > /mnt/nfs \
> > > > > 192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonui
> > > > > d=
> > > > > 25
> > > > > 0,
> > > > > an ongid=250)
> > > > 
> > > > Actually, the converse turned out to be right. Removing the top-level
> > > > /mnt/nfs spec from /etc/exports allowed the whole thing to spring into
> > > > life.
> > > > 
> > > > Go figure, as they say in the colonies.  ;)
> > > 
> > > I'm glad you 'figured' this, although puzzled by your solution.  In my
> > > experience I only needed to export one directory only as the top
> > > directory,
> > > for each different partition.
> > 
> > I followed the Gentoo NFS wiki page, which says "this article demonstrates
> > a best-practice NFSv4 deployment using a virtual root".
> 
> If you are referring to the NFS-utils wiki page:
> 
> https://wiki.gentoo.org/wiki/Nfs-utils
> 
> it provides an example of exporting two *different* partitions:
> 
> Device       Mount directory     Description
> /dev/sdb1    /home               Filesystem containing user home
> directories. /dev/sdc1    /data               Filesystem containing user
> data.


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-22 19:29                 ` Michael
@ 2024-10-22 21:07                   ` Peter Humphrey
  2024-10-23 10:56                     ` Peter Humphrey
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Humphrey @ 2024-10-22 21:07 UTC (permalink / raw
  To: gentoo-user

On Tuesday 22 October 2024 20:29:14 BST Michael wrote:
> On Tuesday 22 October 2024 18:01:55 BST Matt Jolly wrote:
> > It should not matter; the virtual root involves bind mounting directories
> > into a single location - that could be 4 different partitions, a bunch of
> > subvolumes, or some directories scattered across a single partition, or
> > some combination of those options.
> 
> All good and fair, but then why Peter's reported error of duplicate exports?

I don't understand that either. Well, it's just one thing actually: it looks 
as though the remote mount still isn't right, so that some transfers just seem 
to vanish down a black hole.

Now I have the NFS mounting working, apparently, with no reported errors, but 
I still can't get the combined system to behave. I mount the i5's portage tree 
and packages directory on a partition on the M9, chroot into it, 'env-update 
&& . /etc/profile' and attempt to 'emerge --sync' (this is using the Git 
method).

Everything starts to go well, and gkrellm on the i5 shows plausible network 
traffic on both machines - but no disk transfers. This goes on for a couple of 
minutes until I give up.

Before starting any of that I recovered a backup of the i5 and untarred it 
into the chroot partition; not the whole thing, just the root FS and /var, 
which I've kept separate for many years. Oh, and /usr/local. The backup was 
just two days old.

While bug-hunting, I created two new partitions on the i5: one each for the 
portage tree and the packages directory. That was to eliminate the possibility 
that the NFS mount was failing because it wasn't at a file-system root.

Also while bug-hunting, I found an extra-long Ethernet cable and strung the i5 
into the LAN that way. The M9 only ever sees the LAN, whereas I can now start 
and stop the LAN and WLAN at will on the i5. The Fritz!Box router sits at the 
junction. Eventually, of course, once I get this setup working, the cable will 
go back in the cupboard.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-22 21:07                   ` Peter Humphrey
@ 2024-10-23 10:56                     ` Peter Humphrey
  2024-10-23 11:36                       ` Arve Barsnes
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Humphrey @ 2024-10-23 10:56 UTC (permalink / raw
  To: gentoo-user

On Tuesday 22 October 2024 22:07:06 BST I wrote:

> Also while bug-hunting, I found an extra-long Ethernet cable and strung the
> i5 into the LAN that way. The M9 only ever sees the LAN, whereas I can now
> start and stop the LAN and WLAN at will on the i5. The Fritz!Box router
> sits at the junction. Eventually, of course, once I get this setup working,
> the cable will go back in the cupboard.

I should have added that the remote compilation works well with the cable. I 
have found though that the linux-firmware ebuild requires the /boot partition 
to be mounted, which it shouldn't be on a foreign machine, so I say
emerge -uaDvN --exclude="linux-firmware-20241017-*", only to find that it's 
emerged anyway. Dropping that last hyphen gives the required result.

Is this a portage bug?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-23 10:56                     ` Peter Humphrey
@ 2024-10-23 11:36                       ` Arve Barsnes
  2024-10-23 12:17                         ` Peter Humphrey
  0 siblings, 1 reply; 17+ messages in thread
From: Arve Barsnes @ 2024-10-23 11:36 UTC (permalink / raw
  To: gentoo-user

On Wed, 23 Oct 2024 at 12:56, Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> I should have added that the remote compilation works well with the cable. I
> have found though that the linux-firmware ebuild requires the /boot partition
> to be mounted, which it shouldn't be on a foreign machine, so I say
> emerge -uaDvN --exclude="linux-firmware-20241017-*", only to find that it's
> emerged anyway. Dropping that last hyphen gives the required result.
>
> Is this a portage bug?

It is definitely weird, but it is documented to be that way. From the
manual ebuild(5):

The version part that comes before the ’*’ must be a valid version in
the absence of the ’*’. For example, ’2’ is a valid version and ’2.’
is not. Therefore, ’2*’ is allowed and ’2.*’ is not.

Regards,
Arve


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] NFS mounting
  2024-10-23 11:36                       ` Arve Barsnes
@ 2024-10-23 12:17                         ` Peter Humphrey
  0 siblings, 0 replies; 17+ messages in thread
From: Peter Humphrey @ 2024-10-23 12:17 UTC (permalink / raw
  To: gentoo-user

On Wednesday 23 October 2024 12:36:23 BST Arve Barsnes wrote:
> On Wed, 23 Oct 2024 at 12:56, Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> > I should have added that the remote compilation works well with the cable.
> > I have found though that the linux-firmware ebuild requires the /boot
> > partition to be mounted, which it shouldn't be on a foreign machine, so I
> > say emerge -uaDvN --exclude="linux-firmware-20241017-*", only to find
> > that it's emerged anyway. Dropping that last hyphen gives the required
> > result.
> > 
> > Is this a portage bug?
> 
> It is definitely weird, but it is documented to be that way. From the
> manual ebuild(5):
> 
> The version part that comes before the ’*’ must be a valid version in
> the absence of the ’*’. For example, ’2’ is a valid version and ’2.’
> is not. Therefore, ’2*’ is allowed and ’2.*’ is not.

Ah! Thank you Arve. The subtleties of a complex system seem endless at 
times...  :)

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-10-23 12:17 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18 13:41 [gentoo-user] NFS mounting Peter Humphrey
2024-10-18 14:55 ` Michael
2024-10-21  2:12   ` Peter Humphrey
2024-10-21  5:47     ` William Kenworthy
2024-10-21  8:22     ` Michael
2024-10-22  1:10       ` Peter Humphrey
2024-10-22  9:14         ` Michael
2024-10-22 12:00           ` Peter Humphrey
2024-10-22 13:36             ` Michael
2024-10-22 17:01               ` Matt Jolly
2024-10-22 19:29                 ` Michael
2024-10-22 21:07                   ` Peter Humphrey
2024-10-23 10:56                     ` Peter Humphrey
2024-10-23 11:36                       ` Arve Barsnes
2024-10-23 12:17                         ` Peter Humphrey
2024-10-18 15:40 ` Jack Ostroff
2024-10-18 16:50 ` [gentoo-user] " Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox