Bug 2184731 - SELinux is preventing pool-geoclue from 'search' accesses on the adresář net.
Summary: SELinux is preventing pool-geoclue from 'search' accesses on the adresář net.
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 39
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-04-05 14:17 UTC by Vít Ondruch
Modified: 2023-08-16 07:13 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.94 KB, text/plain)
2023-04-05 14:17 UTC, Vít Ondruch
no flags Details
File: os_info (770 bytes, text/plain)
2023-04-05 14:17 UTC, Vít Ondruch
no flags Details

Description Vít Ondruch 2023-04-05 14:17:24 UTC
Description of problem:
SELinux is preventing pool-geoclue from 'search' accesses on the adresář net.

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

Pokud jste přesvědčeni, že má pool-geoclue mít ve výchozím stavu přístup search na net directory.
Then měli byste tento problém nahlásit jako chybu.
Abyste přístup povolili, můžete vygenerovat lokální modul pravidel.
Do
prozatím tento přístup povolíte příkazy:
# 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                          <Neznámé>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.9-1.fc39.noarch
Local Policy RPM              selinux-policy-targeted-38.9-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.2.9-300.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Mar 30 22:32:58 UTC 2023
                              x86_64
Alert Count                   25
First Seen                    2023-04-05 16:00:22 CEST
Last Seen                     2023-04-05 16:16:03 CEST
Local ID                      11d03951-b23f-4b78-9612-83ad9443f684

Raw Audit Messages
type=AVC msg=audit(1680704163.83:225): avc:  denied  { search } for  pid=1217 comm="pool-geoclue" name="net" dev="proc" ino=28993 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.fc39.noarch

Additional info:
reporter:       libreport-2.17.9
reason:         SELinux is preventing pool-geoclue from 'search' accesses on the adresář net.
package:        selinux-policy-targeted-38.9-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.2.9-300.fc38.x86_64
component:      selinux-policy

Comment 1 Vít Ondruch 2023-04-05 14:17:27 UTC
Created attachment 1955899 [details]
File: description

Comment 2 Vít Ondruch 2023-04-05 14:17:29 UTC
Created attachment 1955900 [details]
File: os_info

Comment 3 Fedora Release Engineering 2023-08-16 07:13:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


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