https://bugs.documentfoundation.org/show_bug.cgi?id=136526

            Bug ID: 136526
           Summary: loolwsd doesn't honor ${CONFIGURATION_LAYERS}:
                    dlopen(…/program/libmergedlo.so) can't find config
           Product: LibreOffice Online
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: guil...@fripost.org

loolwsd doesn't honor the custom LibreOffice registry location set in
program/fundamentalrc:CONFIGURATION_LAYERS).  The
dlopen(…/program/libmergedlo.so) seems to unconditionally look for it at
…/share/registry, and the missing *.xcd lead to bootstrapping exceptions:

    [ forkit ] TRC  dlopen(…/program/libmergedlo.so, RTLD_GLOBAL|RTLD_NOW)|
kit/Kit.cpp:2833
    [ forkit ] TRC  Invoking lok_preinit(…/program", "file:///user")|
kit/Kit.cpp:2887
    Init vcl
    Bootstrapping exception 'cannot find
/org.openoffice.TypeDetection.Types/Types
…/configmgr/source/rootaccess.cxx:213'
    [ forkit ] TRC  Finished lok_preinit(…/program", "file:///user") in 25
ms.| kit/Kit.cpp:2897
    […]
    Bootstrapping exception 'cannot find /org.openoffice.Setup/L10N
…/configmgr/source/rootaccess.cxx:213'

Such a loolwsd is not functional: all client connections timeout.  A workaround
is to create symlinks …/share/registry/*.xcd to their actual location before
starting loolwsd.  (Didn't look for a minimal list of .xcd files to create, but
AFAICT at least main.xcd and pdfimport.xcd are required.)

[Originally filed at https://bugs.debian.org/969653 .]

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to