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

Fcontext fails on re-run on newer platforms #288

Closed
ehelms opened this issue May 30, 2019 · 1 comment · Fixed by #290
Closed

Fcontext fails on re-run on newer platforms #288

ehelms opened this issue May 30, 2019 · 1 comment · Fixed by #290

Comments

@ehelms
Copy link
Contributor

ehelms commented May 30, 2019

An example error from the console of what the module runs:

# /sbin/semanage fcontext -a -t squid_cache_t -f a '/var/spool/squid(/.*)?'
ValueError: File context for /var/spool/squid(/.*)? already defined

Package version:

policycoreutils-python-utils.noarch                                           2.8-16.1.el8                                        @rhel-8-for-x86_64-baseos-rpms                                               

Seems that newer semanage will error if a -a operating is ran for an existing entity which breaks re-runs.

@ehelms
Copy link
Contributor Author

ehelms commented May 30, 2019

@ekohl any design thoughts on how to handle this within the provider code?

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

Successfully merging a pull request may close this issue.

1 participant