Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1936389 - SELinux is preventing pool-geoclue from 'getattr' accesses on the filesystem /sys/fs/cgroup.
Summary: SELinux is preventing pool-geoclue from 'getattr' accesses on the filesystem ...
Keywords:
Status: CLOSED DUPLICATE of bug 1932681
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:19889491adea744704742ebcc0b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-08 11:31 UTC by Ankur Sinha (FranciscoD)
Modified: 2021-03-08 11:49 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-08 11:49:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ankur Sinha (FranciscoD) 2021-03-08 11:31:02 UTC
Description of problem:
SELinux is preventing pool-geoclue from 'getattr' accesses on the filesystem /sys/fs/cgroup.

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

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

Additional Information:
Source Context                system_u:system_r:geoclue_t:s0
Target Context                system_u:object_r:cgroup_t:s0
Target Objects                /sys/fs/cgroup [ filesystem ]
Source                        pool-geoclue
Source Path                   pool-geoclue
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            <Unknown>
Local Policy RPM              selinux-policy-targeted-3.14.7-24.fc34.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.11.3-300.fc34.x86_64 #1 SMP Thu
                              Mar 4 19:03:18 UTC 2021 x86_64 x86_64
Alert Count                   1
First Seen                    2021-03-08 11:29:15 GMT
Last Seen                     2021-03-08 11:29:15 GMT
Local ID                      fdd4989c-da85-452e-91c5-aeb7a127d64d

Raw Audit Messages
type=AVC msg=audit(1615202955.629:2895): avc:  denied  { getattr } for  pid=2617 comm="pool-geoclue" name="/" dev="cgroup2" ino=1 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=filesystem permissive=0


Hash: pool-geoclue,geoclue_t,cgroup_t,filesystem,getattr


Additional info:
component:      selinux-policy
reporter:       libreport-2.14.0
hashmarkername: setroubleshoot
kernel:         5.11.3-300.fc34.x86_64
type:           libreport

Potential duplicate: bug 1932681

Comment 1 Zdenek Pytela 2021-03-08 11:49:07 UTC

*** This bug has been marked as a duplicate of bug 1932681 ***


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