Project

General

Profile

Actions

Bug #13433

closed

"SELinuxError: SELinux denials found "

Added by Yuri Weinstein over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rbd
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Run: http://pulpito.ceph.com/teuthology-2015-10-05_23:00:07-rbd-master---basic-multi/
Job: 1091116
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2015-10-05_23:00:07-rbd-master---basic-multi/1091116/teuthology.log

2015-10-08T14:35:23.362 DEBUG:teuthology.run_tasks:Unwinding manager selinux
2015-10-08T14:35:23.362 INFO:teuthology.orchestra.run.plana64:Running: 'mkdir /home/ubuntu/cephtest/archive/audit && sudo cp /var/log/audit/audit.log /home/ubuntu/cephtest/archive/audit && sudo chown $USER /home/ubuntu/cephtest/archive/audit/audit.log && gzip /home/ubuntu/cephtest/archive/audit/audit.log'
2015-10-08T14:35:23.485 INFO:teuthology.orchestra.run.plana64:Running: "sudo grep 'avc: .*denied' /var/log/audit/audit.log" 
2015-10-08T14:35:23.560 DEBUG:teuthology.task.selinux:ubuntu@plana64.front.sepia.ceph.com has 1 denials
2015-10-08T14:35:23.560 ERROR:teuthology.run_tasks:Manager failed: selinux
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/run_tasks.py", line 125, in run_tasks
    suppress = manager.__exit__(*exc_info)
  File "/home/teuthworker/src/teuthology_master/teuthology/task/__init__.py", line 134, in __exit__
    self.teardown()
  File "/home/teuthworker/src/teuthology_master/teuthology/task/selinux.py", line 110, in teardown
    self.get_new_denials()
  File "/home/teuthworker/src/teuthology_master/teuthology/task/selinux.py", line 158, in get_new_denials
    denials=new_denials[remote.name])
SELinuxError: SELinux denials found on ubuntu@plana64.front.sepia.ceph.com: ['type=AVC msg=audit(1444339133.756:30457): avc:  denied  { search } for  pid=26768 comm=72733A6D61696E20513A526567 name="cephtest" dev="sda1" ino=3276882 scontext=system_u:system_r:syslogd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir']
Actions #1

Updated by Loïc Dachary over 8 years ago

  • Status changed from New to Resolved

Feel free to re-open if this is still a problem. I think to remember selinux related problems got fixed.

Actions

Also available in: Atom PDF