Hi, all,
Since upgrading to Fedora 33, I am having some problems accessing files
on NFS shares. I should say first that, immediately after the upgrade,
the shares would not mount at all. I was getting the error:
mount.nfs4: Operation not permitted when mounting NFS device
even when attempting to mount manually. Eventually, I found some info
online that suggested mounting manually as root, which created some
symlink or other. After that, the shares would mount automatically at boot.
However, now, as I said, I have problems accessing files on said shares.
The directory ~/files/ is an NFS mount from a server running CentOS 7.
My LyX user directory is at ~/files/config/lyx/ (symlinked from
~/.lyx/). LyX refuses to start, blocking at a call to
lockf(fd, F_LOCK, 0) at support/filetools.cpp, during startup. (I
believe that fd here points at a file on the NFS share.) I can
successfully start LyX via:
lyx -userdir ~/tmp/lyx
say. I can then restart LyX with the same command and all is well. I can
also start it with
lyx -userdir ~/files/lyxnew/
where that is a *non-existent* directory on the NFS share. In that case,
LyX goes through its configuration process and starts normally. However,
if I then attempt to run that same command again, LyX does not start.
Also, if ~/files/lyxnew/ does exist, then LyX will not start, even if it
is empty.
I am seeing a similar problem with Libre Office. I can starti fine, but
if I then attempt to open a file from ~/files/, Libre Office freezes. It
does not matter when it is ODT or ODS, say. I have not seen the problem
in other programs, but I only upgraded yesterday.
I am guessing that there is something wrong with the NFS configuration.
But I did not change anything myself.
Riki