Bug 549568 - SELinux is preventing /sbin/portreserve "getattr" access on /opt/eset/esets/sbin/esets_daemon.
Summary: SELinux is preventing /sbin/portreserve "getattr" access on /opt/eset/esets/s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:874c5439a78...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-21 23:56 UTC by Krystian
Modified: 2010-01-08 20:10 UTC (History)
2 users (show)

Fixed In Version: 3.6.32-66.fc12
Clone Of:
Environment:
Last Closed: 2010-01-05 23:00:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Krystian 2009-12-21 23:56:51 UTC
Podsumowanie:

SELinux is preventing /sbin/portreserve "getattr" access on
/opt/eset/esets/sbin/esets_daemon.

Szczegółowy opis:

SELinux denied access requested by portrelease. It is not expected that this
access is required by portrelease 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.

Zezwalanie na dostęp:

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.

Dodatkowe informacje:

Kontekst źródłowy          system_u:system_r:portreserve_t:s0
Kontekst docelowy             system_u:object_r:bin_t:s0
Obiekty docelowe              /opt/eset/esets/sbin/esets_daemon [ file ]
Źródło                     portrelease
Ścieżka źródłowa         /sbin/portreserve
Port                          <Nieznane>
Komputer                      (removed)
Źródłowe pakiety RPM       portreserve-0.0.4-2.fc12
Docelowe pakiety RPM          lsb-esets-4.0-8
Pakiet RPM polityki           selinux-policy-3.6.32-55.fc12
SELinux jest włączony       True
Typ polityki                  targeted
Tryb wymuszania               Enforcing
Nazwa wtyczki                 catchall
Nazwa komputera               (removed)
Platforma                     Linux (removed) 2.6.31.6-166.fc12.x86_64 #1 SMP Wed
                              Dec 9 10:46:22 EST 2009 x86_64 x86_64
Liczba alarmów               2
Po raz pierwszy               wto, 15 gru 2009, 14:29:00
Po raz ostatni                wto, 15 gru 2009, 14:29:00
Lokalny identyfikator         4c08312c-e570-4fc4-aef2-5020025521b1
Liczba wierszy                

Surowe komunikaty audytu      

node=(removed) type=AVC msg=audit(1260883740.40:62): avc:  denied  { getattr } for  pid=906 comm="portrelease" path="/opt/eset/esets/sbin/esets_daemon" dev=sda7 ino=146790 scontext=system_u:system_r:portreserve_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1260883740.40:62): arch=c000003e syscall=6 success=no exit=-13 a0=7fff4afee7d0 a1=7fff4afee6a0 a2=7fff4afee6a0 a3=ffffffec items=0 ppid=904 pid=906 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="portrelease" exe="/sbin/portreserve" subj=system_u:system_r:portreserve_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-55.fc12,catchall,portrelease,portreserve_t,bin_t,file,getattr
audit2allow suggests:

#============= portreserve_t ==============
allow portreserve_t bin_t:file getattr;

Comment 1 Daniel Walsh 2009-12-22 13:23:56 UTC
Does this package call portrelease?


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-62.fc12.noarch

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

Comment 3 Fedora Update System 2010-01-04 21:53:36 UTC
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12

Comment 4 Fedora Update System 2010-01-05 22:49:38 UTC
selinux-policy-3.6.32-66.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-2010-0184

Comment 5 Fedora Update System 2010-01-05 22:57:56 UTC
selinux-policy-3.6.32-63.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

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


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