X-Road icon indicating copy to clipboard operation
X-Road copied to clipboard

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

Open raits opened this issue 2 years ago • 0 comments

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

raits avatar Sep 22 '22 07:09 raits