Bug 2183296 - SELinux is preventing pool-geoclue from 'getattr' accesses on the file /proc/sys/net/ipv6/conf/all/disable_ipv6.
Summary: SELinux is preventing pool-geoclue from 'getattr' accesses on the file /proc/...
Keywords:
Status: CLOSED DUPLICATE of bug 2183190
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:da9dd0bb6f9a7f0861b565b3e9b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-30 19:31 UTC by Mikhail
Modified: 2023-03-30 19:37 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-03-30 19:37:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.07 KB, text/plain)
2023-03-30 19:32 UTC, Mikhail
no flags Details
File: os_info (770 bytes, text/plain)
2023-03-30 19:32 UTC, Mikhail
no flags Details

Description Mikhail 2023-03-30 19:31:58 UTC
Description of problem:
SELinux is preventing pool-geoclue from 'getattr' accesses on the file /proc/sys/net/ipv6/conf/all/disable_ipv6.

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

If you believe that pool-geoclue should be allowed getattr access on the disable_ipv6 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 '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                /proc/sys/net/ipv6/conf/all/disable_ipv6 [ file ]
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.fc39.noarch
Local Policy RPM              selinux-policy-targeted-38.9-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.3.0-
                              0.rc4.20230329gitfcd476ea6a88.38.fc39.x86_64+debug
                              #1 SMP PREEMPT_DYNAMIC Thu Mar 30 15:32:42 +05
                              2023 x86_64
Alert Count                   1
First Seen                    2023-03-31 00:31:30 +05
Last Seen                     2023-03-31 00:31:30 +05
Local ID                      bb63ce42-7339-4839-b171-7fd2333bcb76

Raw Audit Messages
type=AVC msg=audit(1680204690.624:580): avc:  denied  { getattr } for  pid=2178803 comm="pool-geoclue" path="/proc/sys/net/ipv6/conf/all/disable_ipv6" dev="proc" ino=2321617 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file permissive=1


Hash: pool-geoclue,geoclue_t,sysctl_net_t,file,getattr

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 'getattr' accesses on the file /proc/sys/net/ipv6/conf/all/disable_ipv6.
package:        selinux-policy-targeted-38.9-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.3.0-0.rc4.20230329gitfcd476ea6a88.38.fc39.x86_64+debug
component:      selinux-policy

Comment 1 Mikhail 2023-03-30 19:32:00 UTC
Created attachment 1954771 [details]
File: description

Comment 2 Mikhail 2023-03-30 19:32:02 UTC
Created attachment 1954772 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-03-30 19:37:52 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.