Bug 790576 - SELinux is preventing /usr/sbin/cupsd from 'getattr' accesses on the None /usr/lib/cups/backend/mfp.
Summary: SELinux is preventing /usr/sbin/cupsd from 'getattr' accesses on the None /us...
Keywords:
Status: CLOSED DUPLICATE of bug 537613
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:197e2e2e6f8b25ca0f728a9b80d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-14 21:00 UTC by alfredo_sulb2b@yahoo.com.br
Modified: 2012-02-14 21:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-02-14 21:07:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description alfredo_sulb2b@yahoo.com.br 2012-02-14 21:00:52 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.5-3.fc16.i686
reason:         SELinux is preventing /usr/sbin/cupsd from 'getattr' accesses on the None /usr/lib/cups/backend/mfp.
time:           Ter 14 Fev 2012 19:00:34 BRST

description:
:SELinux is preventing /usr/sbin/cupsd from 'getattr' accesses on the None /usr/lib/cups/backend/mfp.
:
:*****  Plugin file (47.5 confidence) suggests  *******************************
:
:If you think this is caused by a badly mislabeled machine.
:Then you need to fully relabel.
:Do
:touch /.autorelabel; reboot
:
:*****  Plugin file (47.5 confidence) suggests  *******************************
:
:If you think this is caused by a badly mislabeled machine.
:Then you need to fully relabel.
:Do
:touch /.autorelabel; reboot
:
:*****  Plugin catchall (6.38 confidence) suggests  ***************************
:
:If you believe that cupsd should be allowed getattr access on the mfp <Desconhecido> 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 cupsd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:file_t:s0
:Target Objects                /usr/lib/cups/backend/mfp [ None ]
:Source                        cupsd
:Source Path                   /usr/sbin/cupsd
:Port                          <Desconhecido>
:Host                          (removed)
:Source RPM Packages           cups-1.5.0-22.fc16.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.3-2.fc16.i686 #1
:                              SMP Fri Feb 3 20:06:02 UTC 2012 i686 i686
:Alert Count                   22
:First Seen                    Qui 09 Fev 2012 20:31:17 BRST
:Last Seen                     Ter 14 Fev 2012 17:35:22 BRST
:Local ID                      91c04f0d-d5d6-4cc1-b26b-a7d2d25c0657
:
:Raw Audit Messages
:type=AVC msg=audit(1329248122.222:101): avc:  denied  { getattr } for  pid=2782 comm="cups-deviced" path="/usr/lib/cups/backend/mfp" dev=sda4 ino=26183 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329248122.222:101): arch=40000003 syscall=195 success=no exit=-13 a0=bfc5b23c a1=20cfbb00 a2=623ff4 a3=20cfb5f8 items=0 ppid=1393 pid=2782 auid=4294967295 uid=0 gid=7 euid=0 suid=0 fsuid=0 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="cups-deviced" exe="/usr/lib/cups/daemon/cups-deviced" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: cupsd,cupsd_t,file_t,None,getattr
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-02-14 21:07:25 UTC

*** This bug has been marked as a duplicate of bug 537613 ***


Note You need to log in before you can comment on or make changes to this bug.