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

Error: Could not load policy module: libsemanage.map_file: Unable to open /opt/puppetlabs/server/data/puppetserver/selinux/<name>/<name>.pp #276

Open
foxhunt72 opened this issue Nov 22, 2018 · 1 comment

Comments

@foxhunt72
Copy link

If you use

selinux::module { 'name':

To add a module but the packages checkpolicy or selinux-policy-devel can not be installed the .te file is created but not the .pp files.

After you add the redhat license the pp files will never be created because the exec depends of a notify from de .te file resource.

Solution for know rm -rf /opt/puppetlabs/server/data/puppetserver/selinux and run puppet again, but i think dat the .te file resource a require need for the packages.

How to reproduce, just run puppet before your license your redhat machine.

Why do we run puppet before licensing, to configure ssh and add authentication.

With regards

Richard

@vinzent
Copy link
Contributor

vinzent commented Nov 22, 2018

maybe also investigate why the modules get built at all if the packages cant be installed.

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