Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unoconv is deprecated / better solution for isolating LibreOffice #528

Open
ganwell opened this issue Aug 29, 2022 · 0 comments
Open

unoconv is deprecated / better solution for isolating LibreOffice #528

ganwell opened this issue Aug 29, 2022 · 0 comments

Comments

@ganwell
Copy link
Member

ganwell commented Aug 29, 2022

In theory we could switch to unoserver but it has the same issues as unoconv.

To fix the problem of hanging LibreOffices and race-conditions every call to LibreOffice should use --env:UserInstallation=$RANDOM_UNIQUE_TEMP_DIR. Of course it is not 100% certain that this works, until we tested it.

Using unshare to isolate LibreOffices needs the settings:

    cap_add:
      - CAP_SYS_ADMIN
    security_opt:
      - apparmor:unconfined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants