Bug 825446 - SELinux is preventing ldconfig from 'append' accesses on the file /var/spool/vscan/var/log/sagator/sagator.log.
Summary: SELinux is preventing ldconfig from 'append' accesses on the file /var/spool/...
Keywords:
Status: CLOSED DUPLICATE of bug 825433
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:729df83c86fcae3cda15ff09399...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-26 10:33 UTC by geminic86
Modified: 2012-05-28 06:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-28 06:59:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description geminic86 2012-05-26 10:33:53 UTC
libreport version: 2.0.8
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.6-3.fc16.i686.PAEdebug
reason:         SELinux is preventing ldconfig from 'append' accesses on the file /var/spool/vscan/var/log/sagator/sagator.log.
time:           Sat 26 May 2012 06:59:59 AM EDT

description:
:SELinux is preventing ldconfig from 'append' accesses on the file /var/spool/vscan/var/log/sagator/sagator.log.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that ldconfig should be allowed append access on the sagator.log file 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 ldconfig /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:ldconfig_t:s0
:Target Context                system_u:object_r:var_spool_t:s0
:Target Objects                /var/spool/vscan/var/log/sagator/sagator.log [
:                              file ]
:Source                        ldconfig
:Source Path                   ldconfig
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-86.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.6-3.fc16.i686.PAEdebug #1 SMP
:                              Wed May 16 21:57:33 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Sat 26 May 2012 05:39:15 AM EDT
:Last Seen                     Sat 26 May 2012 05:39:15 AM EDT
:Local ID                      9a65823d-8f89-4168-ac1c-739be63f92e8
:
:Raw Audit Messages
:type=AVC msg=audit(1338025155.663:392): avc:  denied  { append } for  pid=9296 comm="ldconfig" path="/var/spool/vscan/var/log/sagator/sagator.log" dev="dm-1" ino=917584 scontext=system_u:system_r:ldconfig_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=file
:
:
:Hash: ldconfig,ldconfig_t,var_spool_t,file,append
:
:audit2allow
:
:#============= ldconfig_t ==============
:allow ldconfig_t var_spool_t:file append;
:
:audit2allow -R
:
:#============= ldconfig_t ==============
:allow ldconfig_t var_spool_t:file append;
:

Comment 1 Miroslav Grepl 2012-05-28 06:59:23 UTC

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


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