You are not logged in.

#1 2023-11-30 15:09:59

undermine
Member
Registered: 2023-11-30
Posts: 3

Kerberos with NFS: an incorrect mount point was specified

Hello, I've recently been trying to set up an NFS mount with Kerberos, however if the sec=krb5 option is present during the mount, it outputs an error. Considering this has worked in the past without issues, could this be a package regression?

mount.nfs4: timeout set for Thu Nov 30 15:09:11 2023
mount.nfs4: trying text-based options 'nfsvers=4.2,proto=tcp,sec=krb5,addr=XXX.XXX.XXX.XXX,clientaddr=XXX.XXX.XXX.XXX'
mount.nfs4: mount(2): Invalid argument
mount.nfs4: an incorrect mount option was specified for /dir

I've also tried using NFSv3, but the error stays the same no matter what.
NFS server I'm connecting to is also an Arch host.

Offline

#2 2023-11-30 15:33:17

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,990
Website

Re: Kerberos with NFS: an incorrect mount point was specified

Where did you get the addr= option from? I cannot find it in the online man page.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2023-11-30 15:37:49

undermine
Member
Registered: 2023-11-30
Posts: 3

Re: Kerberos with NFS: an incorrect mount point was specified

The addr= option is automatically applied during the mount I believe. I do not have in fstab.

Offline

#4 2023-12-03 13:51:36

undermine
Member
Registered: 2023-11-30
Posts: 3

Re: Kerberos with NFS: an incorrect mount point was specified

Update: My system was using dracut, and so I decided to boot with an mkinitcpio image. Doing so resolved the issue, leading me to believe something is wrong with the way dracut builds initramfs images.

Offline

Board footer

Powered by FluxBB