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

As a Developer I want to change the Security Server installation so that the JNA library is installed to /usr/share/xroad/lib so that it wouldn't cause problems for users #1359

Open
5 tasks
raits opened this issue Sep 22, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@raits
Copy link
Contributor

raits commented Sep 22, 2022

Currently users can run into errors if /var is mounted with the noexec flag because we extract and use libraries from /var/tmp. To remedy this, it would be better if we installed them to /usr/share/xroad/lib so that they wouldn't need to be extracted at runtime. 

The JIRA issue that this was created from can be found here: https://nordic-institute.atlassian.net/browse/XRDDEV-1283

Acceptance criteria:

  • The correct architecture version of the libjnidispatch.so library from the jna dependency is pre-installed to /usr/share/xroad/lib
  • Debian and rpm packaging scripts are updated
  • The installation is tested on Ubuntu 18.04/20.04, RHEL7/RHEL8
  • It is checked that the library is used from the installation and not extracted at runtime
  • All automated test pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

1 participant