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

List of excluded packages is not reset when different profile is selected #142

Open
mildas opened this issue Apr 27, 2021 · 1 comment
Open

Comments

@mildas
Copy link

mildas commented Apr 27, 2021

During installation of RHEL8, when a security policy is selected, and then the policy is changes to a different one, it seems that list of excluded packages is not reset.

See discussion in ComplianceAsCode/content#6899 - performed for "Server with GUI" package selection:
When the DISA STIG security policy (a profile that removes xorg-x11-* packages) is selected, and then the DISA STIG with GUI (a profile that does not remove the packages) is selected, it is not possible to begin the installation because of package conflicts - xorg-x11-* packages are excluded. But, if you start a new installation, select DISA STIG with GUI first, then there are no conflicts in xorg-x11-* packages.

@matejak
Copy link
Contributor

matejak commented Jun 21, 2021

We revert some of the package changes when another profile is selected from GUI - see e.g. PackageRules.revert_changes The problem probably comes from dependencies that are removed when packages are excluded, but that are not re-added when another profile doesn't exclude those packages any more.

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

No branches or pull requests

2 participants