View Issue Details

IDProjectCategoryView StatusLast Update
0015292CentOS-7selinux-policypublic2019-05-05 18:45
Reporterhobbes129 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015292: SELinux is preventing /usr/libexec/geoclue from 'getattr' accesses on the file /proc/<pid>/cgroup.
DescriptionDescription of problem:
SELinux is preventing /usr/libexec/geoclue from 'getattr' accesses on the file /proc/<pid>/cgroup.

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

If you believe that geoclue should be allowed getattr access on the cgroup 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 'geoclue' --raw | audit2allow -M my-geoclue
# semodule -i my-geoclue.pp

Additional Information:
Source Context system_u:system_r:geoclue_t:s0
Target Context system_u:system_r:unconfined_service_t:s0
Target Objects /proc/<pid>/cgroup [ file ]
Source geoclue
Source Path /usr/libexec/geoclue
Port <Unknown>
Host (removed)
Source RPM Packages geoclue2-2.4.5-1.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-192.el7_5.6.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-862.11.6.el7.x86_64 #1 SMP
                              Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64
Alert Count 2
First Seen 2018-08-11 13:35:27 PDT
Last Seen 2018-08-25 20:32:24 PDT
Local ID 5ae6d2e3-f2ec-4bac-bc48-12c7395aa537

Raw Audit Messages
type=AVC msg=audit(1535254344.305:197): avc: denied { getattr } for pid=5788 comm="geoclue" path="/proc/3812/cgroup" dev="proc" ino=31261 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=file


type=SYSCALL msg=audit(1535254344.305:197): arch=x86_64 syscall=fstat success=no exit=EACCES a0=8 a1=7ffc86fdf1c0 a2=7ffc86fdf1c0 a3=7ffc86fdece0 items=0 ppid=1 pid=5788 auid=4294967295 uid=993 gid=991 euid=993 suid=993 fsuid=993 egid=991 sgid=991 fsgid=991 tty=(none) ses=4294967295 comm=geoclue exe=/usr/libexec/geoclue subj=system_u:system_r:geoclue_t:s0 key=(null)

Hash: geoclue,geoclue_t,unconfined_service_t,file,getattr

Version-Release number of selected component:
selinux-policy-3.13.1-192.el7_5.6.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-862.11.6.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash696562de069922e8d34d38066d542e5c0c36b6140d278be037f4d1606e1471df
URL

Activities

aditbaco

aditbaco

2019-05-05 18:45

reporter   ~0034432

Another user experienced a similar problem:

it just appeared after login

reporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-957.10.1.el7.x86_64
package: selinux-policy-3.13.1-229.el7_6.9.noarch
reason: SELinux is preventing /usr/libexec/geoclue from 'getattr' accesses on the file /proc/<pid>/cgroup.
reproducible: Not sure how to reproduce the problem
type: libreport

Issue History

Date Modified Username Field Change
2018-09-18 14:47 hobbes129 New Issue
2019-05-05 18:45 aditbaco Note Added: 0034432