Closed drizuid closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
https://discord.com/channels/354974912613449730/512708069709316137/1058080470102966352
echo $QTWEBENGINE_DISABLE_SANDBOX
will allow the viewer to run, but I was unable to get this var to work globally in the container.
perhaps export QTWEBENGINE_DISABLE_SANBOX=1
into .bashrc would work, but I'm not sure which shell the calibre process is run under
this initial attempt at a PR did not work - https://github.com/linuxserver/docker-calibre/pull/118
i believe we also discussed no need to chown /opt/calibre, which could reduce the impact of the overlayfs bug.
as a note, while this worked in rdesktop based v4 it does not appear to work in kasmvnc based v4.
whereas env was needed in rdesktop, it's not in kasmvnc, QTWEBENGINE_DISABLE_SANBOX=1 ebook-viewer
perhaps this would work for the initial instance? ill test
even if it does work, we still need this applied globally in case someone runs a command out of the calibre context
QTWEBENGINE_DISABLE_SANDBOX=1 LD_PRELOAD=/opt/calibre/lib/libffi.so.6 /usr/bin/calibre --no-update-check $CLI_ARGS'
the above works in my localized testing. will do a PR and test
resolved
Is there an existing issue for this?
Current Behavior
When launching the reader built into calibre, it will launch with the QTWEBENGINE Sandbox and crash.
This applies to the rdesktop based v4 AND the kasmvnc v4
Expected Behavior
It should open without a crash and allow viewing the book
Steps To Reproduce
or
Environment
CPU architecture
x86-64
Docker creation
Container logs