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

role ceph-nfs can't add ganesha_t to permissive domain #7263

Open
guits opened this issue Jul 29, 2022 · 2 comments
Open

role ceph-nfs can't add ganesha_t to permissive domain #7263

guits opened this issue Jul 29, 2022 · 2 comments

Comments

@guits
Copy link
Collaborator

guits commented Jul 29, 2022

TASK [ceph-nfs : add ganesha_t to permissive domain] ***************************
task path: /home/jenkins-build/build/workspace/ceph-ansible-nightly-pacific-centos-non_container-stable-6.0-all_daemons/roles/ceph-nfs/tasks/main.yml:35
Tuesday 19 July 2022  16:46:35 +0000 (0:00:02.135)       0:10:53.725 ********** 
redirecting (type: modules) ansible.builtin.selinux_permissive to community.general.selinux_permissive
redirecting (type: modules) community.general.selinux_permissive to community.general.system.selinux_permissive
ok: [nfs0] => changed=false 
  failed_when_result: false
  module_stderr: |-
    Shared connection to 192.168.121.223 closed.
  module_stdout: |-
    Failed to resolve typepermissive statement at /var/lib/selinux/targeted/tmp/modules/400/permissive_ganesha_t/cil:1
    Traceback (most recent call last):
      File "/home/vagrant/.ansible/tmp/ansible-tmp-1658249195.5697093-3979193-83958559715456/AnsiballZ_selinux_permissive.py", line 249, in <module>
        _ansiballz_main()
      File "/home/vagrant/.ansible/tmp/ansible-tmp-1658249195.5697093-3979193-83958559715456/AnsiballZ_selinux_permissive.py", line 239, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/home/vagrant/.ansible/tmp/ansible-tmp-1658249195.5697093-3979193-83958559715456/AnsiballZ_selinux_permissive.py", line 110, in invoke_module
        runpy.run_module(mod_name='ansible_collections.community.general.plugins.modules.system.selinux_permissive', init_globals=None, run_name='__main__', alter_sys=True)
      File "/usr/lib64/python3.6/runpy.py", line 205, in run_module
        return _run_module_code(code, init_globals, run_name, mod_spec)
      File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code
        mod_name, mod_spec, pkg_name, script_name)
      File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "/tmp/ansible_selinux_permissive_payload_1a4foe9j/ansible_selinux_permissive_payload.zip/ansible_collections/community/general/plugins/modules/system/selinux_permissive.py", line 126, in <module>
      File "/tmp/ansible_selinux_permissive_payload_1a4foe9j/ansible_selinux_permissive_payload.zip/ansible_collections/community/general/plugins/modules/system/selinux_permissive.py", line 108, in main
      File "/usr/lib/python3.6/site-packages/seobject.py", line 515, in add
        self.commit()
      File "/usr/lib/python3.6/site-packages/seobject.py", line 330, in commit
        rc = semanage_commit(self.sh)
    OSError: [Errno 0] Error
  msg: |-
    MODULE FAILURE
    See stdout/stderr for the exact error
  rc: 1
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

@github-actions
Copy link

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

@guits guits reopened this Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant