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

Become root #15

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Become root #15

merged 1 commit into from
Mar 20, 2024

Conversation

dominikl
Copy link
Member

@dominikl dominikl commented Mar 7, 2024

When running the playbook to create a rocky9 pilot, I got:

TASK [ome.nginx : Import a key for nginx] ******************************************************************************************************************************************
fatal: [2f5d1f82-2aad-433b-ab9f-98c5fe25ffa5]: FAILED! => {"changed": false, "msg": "error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)\nerror: /tmp/tmp31_1w5ho: key 1 import failed.\n"}

This PR fixes the issue.

Note: There's still the issue that selinux prevents nginx from serving omero.web. As a workaround I manually set SELINUX=disabled in /etc/selinux/config (and setenforce 0 in order to not have to reboot). Don't know how/if this could be added to the role. (now handled in ome/ansible-role-omero-web#50 )

@sbesson sbesson requested review from jburel and khaledk2 March 7, 2024 20:21
@jburel jburel merged commit a10531e into ome:master Mar 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants