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

Remove nix selinux policy module on uninstall #17

Open
dantecatalfamo opened this issue Dec 29, 2022 · 0 comments
Open

Remove nix selinux policy module on uninstall #17

dantecatalfamo opened this issue Dec 29, 2022 · 0 comments

Comments

@dantecatalfamo
Copy link

dantecatalfamo commented Dec 29, 2022

After uninstalling this package on Fedora due to a broken installation, my system was almost bricked because the SELinux policy was broken. Running sudo semodule -r nix and removing /usr/share/selinux/packages/nix.pp fixed it. There should be something in after-remove.sh to mirror this https://github.com/nix-community/nix-installers/blob/master/hooks/after-install.sh#L36-L38

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

1 participant