Fedora 33 Problem

Richard Kimberly Heck rikiheck at lyx.org
Mon Nov 23 16:15:15 UTC 2020


On 11/23/20 10:02 AM, Kornel Benko wrote:
> 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)

No, weirdly, it works when we need to create the directory from scratch, 
but not if it's there. (It doesn't matter whether there's anything in it.)

Riki




More information about the lyx-devel mailing list