| Summary: | SELinux is preventing /usr/bin/ruby from using the 'dac_override' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | geminic86 |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:2d6480c8119cf090f4e8f94870fe97b53662254bf68032db6358694b97f0a676 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-16 08:39:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 773773 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-7.fc16.i686 reason: SELinux is preventing /usr/bin/ruby from using the 'dac_override' capabilities. time: Thu 12 Jan 2012 04:42:48 PM EST description: :SELinux is preventing /usr/bin/ruby from using the 'dac_override' capabilities. : :***** Plugin dac_override (91.4 confidence) suggests *********************** : :If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system :Then turn on full auditing to get path information about the offending file and generate the error again. :Do : :Turn on full auditing :# auditctl -w /etc/shadow -p w :Try to recreate AVC. Then execute :# ausearch -m avc -ts recent :If you see PATH record check ownership/permissions on file, and fix it, :otherwise report as a bugzilla. : :***** Plugin catchall (9.59 confidence) suggests *************************** : :If you believe that ruby should have the dac_override capability by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep deltacloudd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:deltacloudd_t:s0 :Target Context system_u:system_r:deltacloudd_t:s0 :Target Objects [ capability ] :Source deltacloudd :Source Path /usr/bin/ruby :Port <Unknown> :Host (removed) :Source RPM Packages ruby-1.8.7.357-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-71.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.0-7.fc16.i686 #1 SMP Tue Nov 1 : 21:00:16 UTC 2011 i686 i686 :Alert Count 1 :First Seen Thu 12 Jan 2012 04:38:21 PM EST :Last Seen Thu 12 Jan 2012 04:38:21 PM EST :Local ID eede2aa2-8c4c-44aa-b3fa-ae6a276d9a47 : :Raw Audit Messages :type=AVC msg=audit(1326404301.517:563): avc: denied { dac_override } for pid=2738 comm="deltacloudd" capability=1 scontext=system_u:system_r:deltacloudd_t:s0 tcontext=system_u:system_r:deltacloudd_t:s0 tclass=capability : : :type=SYSCALL msg=audit(1326404301.517:563): arch=i386 syscall=open success=yes exit=ESRCH a0=9322fc0 a1=8441 a2=1b6 a3=0 items=0 ppid=2737 pid=2738 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=deltacloudd exe=/usr/bin/ruby subj=system_u:system_r:deltacloudd_t:s0 key=(null) : :Hash: deltacloudd,deltacloudd_t,deltacloudd_t,capability,dac_override : :audit2allow : :#============= deltacloudd_t ============== :allow deltacloudd_t self:capability dac_override; : :audit2allow -R : :#============= deltacloudd_t ============== :allow deltacloudd_t self:capability dac_override; :