Actions
Bug #17395
closedSELinux policy for technique editor is not applied anymore after upgrade on RHEL/Centos server
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:
Description
SELinux policy for technique editor is not present anymore after upgrade. It's because we reduced the number of packages and replaced ncf-api-virtualenv package (~ technique editor stuff) by rudder-webapp.
rudder-webapp x86_64 1398866025:6.0.5.release-1.EL.7 Rudder 118 M replacing ncf.noarch 1398866025:5.0.17.release-1.EL.7 replacing ncf-api-virtualenv.noarch 1398866025:5.0.17.release-1.EL.7 replacing rudder-inventory-endpoint.noarch 1398866025:5.0.17.release-1.EL.7 replacing rudder-inventory-ldap.x86_64 1398866025:5.0.17.release-1.EL.7 replacing rudder-jetty.noarch 1398866025:5.0.17.release-1.EL.7 replacing rudder-techniques.noarch 1398866025:5.0.17.release-1.EL.7
So rudder-webapp correctly setups the selinux policy,
Installing : 1398866025:rudder-webapp-6.0.5.release-1.EL.7.x86_64 21/42 ... INFO: Applying selinux policy... Donebut ncf-api-virtualenv is removed at the end:
Erasing : 1398866025:ncf-api-virtualenv-5.0.17.release-1.EL.7.noarch 30/42 INFO: Removing the ncf-api-venv user... Done INFO: Removing ncf-api-virtualenv selinux policy...libsemanage.semanage_direct_remove_key: Removing last ncf-api-virtualenv module (no other ncf-api-virtualenv module exists at another priority). Done
Luckily, ncf-api-venv user is not removed, because apache is running, but i think we had some cases where it was removed.
We should include installation of selinux policy in posttrans of rudder-webapp too, or prevent ncf-api-virtualenv postun to run
i think we should include checks on ncf-api-venv user too
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ over 4 years ago
- Assignee changed from Vincent MEMBRÉ to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2287
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from In progress to Pending release
Applied in changeset rudder-packages|6a25744f62b341a99f2b368be0050bb862e9d9e9.
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.0.7 to 6.0.6
Updated by Vincent MEMBRÉ over 4 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 4 years ago
- Name check changed from To do to Reviewed
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.6 which was released today.
Updated by Alexis Mousset over 4 years ago
- Related to Bug #17474: #17395 should not be in 6.1 added
Actions