Bug 1144674 - SELinux is preventing sealert from 'ioctl' accesses on the unix_stream_socket unix_stream_socket.
Summary: SELinux is preventing sealert from 'ioctl' accesses on the unix_stream_socket...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cb800c36026278a0403ac54bd7c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-20 08:14 UTC by Moez Roy
Modified: 2023-09-14 02:47 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.13.1-99.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-03 17:15:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2014-09-20 08:14:23 UTC
Description of problem:
SELinux is preventing sealert from 'ioctl' accesses on the unix_stream_socket unix_stream_socket.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that sealert should be allowed ioctl access on the unix_stream_socket unix_stream_socket 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 sealert /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                staff_u:staff_r:staff_t:s0
Target Context                staff_u:staff_r:staff_dbusd_t:s0
Target Objects                unix_stream_socket [ unix_stream_socket ]
Source                        sealert
Source Path                   sealert
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-82.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.16.3-300.fc21.x86_64 #1 SMP Wed
                              Sep 17 20:54:02 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-09-20 01:12:26 PDT
Last Seen                     2014-09-20 01:12:26 PDT
Local ID                      d2b10b65-187c-4e15-acf0-f2613cd18d7c

Raw Audit Messages
type=AVC msg=audit(1411200746.70:446): avc:  denied  { ioctl } for  pid=2512 comm="sealert" path="socket:[34145]" dev="sockfs" ino=34145 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_dbusd_t:s0 tclass=unix_stream_socket permissive=1


Hash: sealert,staff_t,staff_dbusd_t,unix_stream_socket,ioctl

Version-Release number of selected component:
selinux-policy-3.13.1-82.fc21.noarch

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.16.3-300.fc21.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-10-27 22:31:04 UTC
Fixed in git
c32e6d601088c98e55c202a4ea670357a60fbceb

Comment 2 Lukas Vrabec 2014-10-29 08:59:13 UTC
Dan, 
"$ git push" 
please.

Comment 3 Fedora Update System 2014-11-21 12:23:53 UTC
selinux-policy-3.13.1-99.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-99.fc21

Comment 4 Fedora Update System 2014-12-03 17:15:12 UTC
selinux-policy-3.13.1-99.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Red Hat Bugzilla 2023-09-14 02:47:58 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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