Closed felixsch closed 11 months ago
Well Done! Your tests are still passing. https://ci.suse.de/job/scc-RMT-integration-tests/351568/console If the given link has expired,you can force a Prophet rerun by just deleting this comment. (Merged 6b0381b6e8f38aedef5e65ed7a3fcba73e9ae9ba into 40dd490a960f56cb2b641696bf5495eace3a8a7d)
Afaiks this will only fix fresh installations. Systems that already have the secret files with wrong permissions will not get fixed by this patch.
This is done by the update script which has been fixed as well.
Description
The problem is that the file permission where originally wrong and breaks RMT completely because it can not read the secrets. This fixes the permissions for both files without relying on handling this in the spec file where it should not be handled anyway.
original:
but we need due to hardening:
see: https://bugzilla.suse.com/show_bug.cgi?id=1215176
Fixes file permission for
config/secrets.yml.key
andconfig/secrets.yml.enc
to0640
during fresh install.part of: https://trello.com/c/hL2IyVT1/3061-fix-rmt-server-install-creates-secretsymlkey-with-root-owner fixed version of: https://github.com/SUSE/rmt/pull/1062
How to test this pull request:
Thank you for reviewing this pull request :rocket: