Fedora 33 Problem
Kornel Benko
kornel at lyx.org
Mon Nov 23 15:07:26 UTC 2020
Am Mon, 23 Nov 2020 16:02:41 +0100
schrieb Kornel Benko <kornel at lyx.org>:
> Am Mon, 23 Nov 2020 09:50:01 -0500
> schrieb Richard Kimberly Heck <rikiheck at lyx.org>:
>
> > I upgraded to Fedora 33 yesterday, and since then LyX will not start if
> > the user directory already exists and is on an NFS share. E.g.,
> >
> > # lyx -userdir ~/files/lyx/
> >
> > fails if ~/files/lyx/ exists and ~/files/ is an NFS mount. However, the
> > same command succeeds if ~/files/lyx/ does not exist---it is created and
> > populated as normal---and LyX is then able to open files on the same
> > filesystem.
> >
> > It seems to freeze in the call to
> >
> > lockf(fd, F_LOCK, 0)
> >
> > at filetools.cpp, line 1262, in fileLock (called from LyX::init).
> >
> > Any ideas?
> >
> > Riki
> >
> > PS Qt 5.13.2
> >
>
> The lock is there to prevent from a parallel started second lyx. Will be released after
> the lyx-configure stopped. But I have no idea why this lockf() freezes.
>
> Does it still work if you start lyx after the first successful run? (In that case
> ~/files/lyx/ also exists)
>
> Kornel
We could check, if the lockfile exists first, and create before locking.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201123/57f69163/attachment.asc>
More information about the lyx-devel
mailing list