Bug 108421 - LOOL: Access to file denied: /usr/bin/jails
Summary: LOOL: Access to file denied: /usr/bin/jails
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 19:56 UTC by gjost
Modified: 2018-01-29 10:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gjost 2017-06-08 19:56:38 UTC
loolwsd fails on startup and refuses to accept connections.  It seems to be looking for /usr/bin/jails but file/dir is absent.

This is loolwsd on Debian 8.8 installed from .deb packages using instructions at https://www.collaboraoffice.com/code/.

Config files are unchanged except
- /lib/systemd/system/loolwsd.service modified to specify --config-file=/etc/loolwsd/loolwsd.xml.
- /etc/loolwsd/loolwsd.xml modified to enable logging.

Log output after running "sudo service loolwsd start":

frk-20713-20713 19:30:31.712757 [ forkit ] INF  Initializing frk. Local time: Thu 2017-06-08 12:30:31-0700. Log level is [7].| common/Log.cpp:199
frk-20713-20713 19:30:31.712916 [ forkit ] INF  Have capability cap_sys_chroot| kit/ForKit.cpp:163
frk-20713-20713 19:30:31.712946 [ forkit ] INF  Have capability cap_mknod| kit/ForKit.cpp:163
frk-20713-20713 19:30:31.712959 [ forkit ] INF  Have capability cap_fowner| kit/ForKit.cpp:163
frk-20713-20713 19:30:32.366851 [ forkit ] INF  Preinit stage OK.| kit/ForKit.cpp:477
frk-20713-20713 19:30:32.366963 [ forkit ] DBG  Forking a loolkit process with jailId: 5Pp6fFO8XbZaD5L5.| kit/ForKit.cpp:228
frk-20713-20713 19:30:32.370006 [ forkit ] INF  Forked kit [20725].| kit/ForKit.cpp:269
frk-20713-20713 19:30:32.370116 [ forkit ] INF  ForKit process is ready.| kit/ForKit.cpp:489
frk-20713-20713 19:30:32.370276 [ loolkit ] INF  Thread 20713 (0x7f01f47e4780) is now called [loolkit].| common/Util.cpp:280
kit-20725-20713 19:30:32.370456 [ loolkit ] INF  Initializing kit. Local time: Thu 2017-06-08 12:30:32-0700. Log level is [7].| common/Log.cpp:199
kit-20725-20713 19:30:32.370527 [ loolkit ] DBG  Process started.| kit/Kit.cpp:1614
kit-20725-20713 19:30:32.370573 [ loolkit ] INF  Jail path: /usr/bin/jails/5Pp6fFO8XbZaD5L5/| kit/Kit.cpp:1628
kit-20725-20713 19:30:32.370861 [ loolkit ] ERR  Poco Exception: Access to file denied: /usr/bin/jails| kit/Kit.cpp:1901
kit-20725-20713 19:30:32.370913 [ loolkit ] INF  Process finished.| kit/Kit.cpp:1910
frk-20713-20713 19:30:32.870768 [ forkit ] INF  Child 20725 has exited, removing its jail '/usr/bin/jails/5Pp6fFO8XbZaD5L5'.| kit/ForKit.cpp:202
Comment 1 Aron Budea 2017-06-13 01:54:35 UTC
Hm, it shouldn't look for /usr/bin/jails, but for something like /opt/lool/child-roots/ , and it's set in the systemd config file, the parameter is child_root_path. Can you check?
Comment 2 QA Administrators 2018-01-02 10:15:21 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2018-01-29 10:36:25 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20180129