[2-EL9] Fix update-ca-trust error - p11-kit: couldn't make directory writable#94
[2-EL9] Fix update-ca-trust error - p11-kit: couldn't make directory writable#94Fryguy merged 1 commit intoManageIQ:2-el9from
Conversation
Helpful discussion in https://bugzilla.redhat.com/show_bug.cgi?id=2241240 CP4AIOPS-11300
| rm -rf /etc/pki/ca-trust/extracted/* | ||
| mv /tmp/extracted/* /etc/pki/ca-trust/extracted/ |
There was a problem hiding this comment.
Do you need to chmod anything after copying it over?
There was a problem hiding this comment.
I don't think so. After this, we don't try to write anything in /etc/pki.
There was a problem hiding this comment.
I was more thinking that whatever serves/uses the cert might need the certs to be a particular way (kind of like how things in ~/.ssh need specific perms set)
There was a problem hiding this comment.
Oh, I'll double check the ownership, but the script appears to set the correct permissions on the directories. (That's why we're getting the error that prevents us from running it in the first place 😄 )
There was a problem hiding this comment.
The ownership is our_uid:root, but the file and directory permissions are correct.
|
Checked commit bdunne@e0485ee with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint |
TODO:
Helpful discussion in https://bugzilla.redhat.com/show_bug.cgi?id=2241240
CP4AIOPS-11300
New startup logs: