Bug 2183310 - SELinux is preventing pool-geoclue from 'search' accesses on the directory net.
Summary: SELinux is preventing pool-geoclue from 'search' accesses on the directory net.
Keywords:
Status: CLOSED DUPLICATE of bug 2183190
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fed0813b2e6b27c47a9df2ffeb1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-30 20:04 UTC by Kamil Páral
Modified: 2023-03-31 13:31 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-03-31 13:31:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.89 KB, text/plain)
2023-03-30 20:04 UTC, Kamil Páral
no flags Details
File: os_info (756 bytes, text/plain)
2023-03-30 20:04 UTC, Kamil Páral
no flags Details

Description Kamil Páral 2023-03-30 20:04:08 UTC
Description of problem:
Started happening right after updating to geoclue2-2.7.0-1.fc38.x86_64 and rebooting. 28 occurrences since system boot a few minutes ago.
SELinux is preventing pool-geoclue from 'search' accesses on the directory net.

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

If you believe that pool-geoclue should be allowed search access on the net directory 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:sysctl_net_t:s0
Target Objects                net [ dir ]
Source                        pool-geoclue
Source Path                   pool-geoclue
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.9-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.9-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.2.8-300.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Mar 22 19:29:30 UTC 2023
                              x86_64
Alert Count                   28
First Seen                    2023-03-30 22:01:33 CEST
Last Seen                     2023-03-30 22:01:37 CEST
Local ID                      488732de-de11-4dbd-a777-bf0f2e35665f

Raw Audit Messages
type=AVC msg=audit(1680206497.661:203): avc:  denied  { search } for  pid=1705 comm="pool-geoclue" name="net" dev="proc" ino=33904 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir permissive=0


Hash: pool-geoclue,geoclue_t,sysctl_net_t,dir,search

Version-Release number of selected component:
selinux-policy-targeted-38.9-1.fc38.noarch

Additional info:
reporter:       libreport-2.17.9
reason:         SELinux is preventing pool-geoclue from 'search' accesses on the directory net.
package:        selinux-policy-targeted-38.9-1.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.2.8-300.fc38.x86_64
comment:        Started happening right after updating to geoclue2-2.7.0-1.fc38.x86_64 and rebooting. 28 occurrences since system boot a few minutes ago.
component:      selinux-policy

Comment 1 Kamil Páral 2023-03-30 20:04:10 UTC
Created attachment 1954781 [details]
File: description

Comment 2 Kamil Páral 2023-03-30 20:04:13 UTC
Created attachment 1954782 [details]
File: os_info

Comment 3 Kamil Páral 2023-03-30 20:07:44 UTC
This is possibly a duplicate of bug 2183190.

Comment 4 Zdenek Pytela 2023-03-31 13:31:12 UTC

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


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