Bug 541331

Summary: SELinux is preventing /usr/local/bin/lgmonip4700 "create" access.
Product: [Fedora] Fedora Reporter: Florian Fischer <findingharrylime>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, findingharrylime, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:07b8e75c44b8de41e4d35337aa6f4d0ee1a26eab6a82d5f03dc10b498657d80c
Fixed In Version: selinux-policy-3.6.32-120.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-07 22:46:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Florian Fischer 2009-11-25 14:43:54 UTC
Zusammenfassung:

SELinux is preventing /usr/local/bin/lgmonip4700 "create" access.

Detaillierte Beschreibung:

SELinux denied access requested by lgmonip4700. It is not expected that this
access is required by lgmonip4700 and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Zugriff erlauben:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Zusätzliche Informationen:

Quellkontext                  unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023
Zielkontext                   unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023
Zielobjekte                   None [ sem ]
Quelle                        lgmonip4700
Quellen-Pfad                  /usr/local/bin/lgmonip4700
Port                          <Unbekannt>
Host                          (removed)
Quellen-RPM-Pakete            cnijfilter-ip4700series-3.20-1
Ziel-RPM-Pakete               
RPM-Richtlinie                selinux-policy-3.6.32-46.fc12
SELinux aktiviert             True
Richtlinienversion            targeted
Enforcing-Modus               Enforcing
Plugin-Name                   catchall
Hostname                      (removed)
Plattform                     Linux (removed)
                              2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14
                              EST 2009 x86_64 x86_64
Anzahl der Alarme             3
Zuerst gesehen                Mi 25 Nov 2009 15:18:21 CET
Zuletzt gesehen               Mi 25 Nov 2009 15:42:01 CET
Lokale ID                     aaef836f-e5bb-4415-9e19-3eeb8209ea51
Zeilennummern                 

Raw-Audit-Meldungen           

node=(removed) type=AVC msg=audit(1259160121.230:34361): avc:  denied  { create } for  pid=16557 comm="lgmonip4700" key=0 scontext=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=sem

node=(removed) type=SYSCALL msg=audit(1259160121.230:34361): arch=40000003 syscall=117 success=no exit=4294967283 a0=2 a1=0 a2=1 a3=3b6 items=0 ppid=16556 pid=16557 auid=500 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=1 comm="lgmonip4700" exe="/usr/local/bin/lgmonip4700" subj=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-46.fc12,catchall,lgmonip4700,cupsd_t,cupsd_t,sem,create
audit2allow suggests:

#============= cupsd_t ==============
allow cupsd_t self:sem create;

Comment 1 Daniel Walsh 2009-11-25 15:21:23 UTC
You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.6.32-51.fc12.noarch

Comment 2 Fedora Update System 2009-12-01 16:52:21 UTC
selinux-policy-3.6.32-52.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-52.fc12

Comment 3 Fedora Update System 2009-12-03 04:59:26 UTC
selinux-policy-3.6.32-52.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12549

Comment 4 Fedora Update System 2009-12-03 20:24:25 UTC
selinux-policy-3.6.32-55.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-55.fc12

Comment 5 Fedora Update System 2009-12-04 23:42:26 UTC
selinux-policy-3.6.32-55.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12650

Comment 6 Fedora Update System 2009-12-08 07:49:00 UTC
selinux-policy-3.6.32-55.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-08-05 13:21:16 UTC
selinux-policy-3.6.32-120.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-120.fc12

Comment 8 Fedora Update System 2010-08-20 01:41:25 UTC
selinux-policy-3.6.32-120.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.