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

get_selinux_facts in setup module fails on fedora17 #428

Closed
sfromm opened this issue May 30, 2012 · 1 comment
Closed

get_selinux_facts in setup module fails on fedora17 #428

sfromm opened this issue May 30, 2012 · 1 comment

Comments

@sfromm
Copy link
Contributor

sfromm commented May 30, 2012

Fails with the following:

  File "/var/tmp/ansible.Xj4uZo/setup", line 284, in get_selinux_facts

     facts['selinux']['mode'] = mode.group()

AttributeError: 'NoneType' object has no attribute 'group'
mpdehaan pushed a commit that referenced this issue May 30, 2012
This switches to using selinux library calls instead of parsing the
output of sestatus.  This fixes issue #428 where the output was slightly
different than expected on F17.  Tested against debian (non-selinux),
centos5, centos6, and fedora17.
@mpdehaan
Copy link
Contributor

closing per 429

mpdehaan pushed a commit that referenced this issue Jul 17, 2012
This switches to using selinux library calls instead of parsing the
output of sestatus.  This fixes issue #428 where the output was slightly
different than expected on F17.  Tested against debian (non-selinux),
centos5, centos6, and fedora17.
@ansible ansible locked and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants