View Issue Details

IDProjectCategoryView StatusLast Update
0016227CentOS-7selinux-policypublic2019-06-30 05:50
Reporterpkranjan 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016227: SELinux is preventing /usr/sbin/haproxy from 'read' accesses on the file unix.
DescriptionDescription of problem:
This is reported by SELinux Notification
SELinux is preventing /usr/sbin/haproxy from 'read' accesses on the file unix.

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

If you believe that haproxy should be allowed read access on the unix 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:
# ausearch -c 'haproxy' --raw | audit2allow -M my-haproxy
# semodule -i my-haproxy.pp

Additional Information:
Source Context system_u:system_r:haproxy_t:s0
Target Context system_u:object_r:proc_net_t:s0
Target Objects unix [ file ]
Source haproxy
Source Path /usr/sbin/haproxy
Port <Unknown>
Host (removed)
Source RPM Packages haproxy-1.5.18-8.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.9.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.5.1.el7.x86_64 #1 SMP
                              Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64
Alert Count 2
First Seen 2019-06-20 22:51:45 IST
Last Seen 2019-06-21 20:22:44 IST
Local ID e7639d0b-02e5-4406-9bd8-11b31f966882

Raw Audit Messages
type=AVC msg=audit(1561128764.803:377509): avc: denied { read } for pid=32208 comm="haproxy" name="unix" dev="proc" ino=4026532003 scontext=system_u:system_r:haproxy_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file permissive=0


type=SYSCALL msg=audit(1561128764.803:377509): arch=x86_64 syscall=access success=no exit=EACCES a0=7ffe86c54f80 a1=4 a2=7ffe86c54f8e a3=3 items=0 ppid=32206 pid=32208 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=haproxy exe=/usr/sbin/haproxy subj=system_u:system_r:haproxy_t:s0 key=(null)

Hash: haproxy,haproxy_t,proc_net_t,file,read

Version-Release number of selected component:
selinux-policy-3.13.1-229.el7_6.9.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-957.5.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash519832628f0f3d48e9aa7a6343f1db7e94e3c40677b377e633e36e90e6e1808e
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-06-30 05:50 pkranjan New Issue