Bug 2385051 - SELinux is preventing selinux-autorel from 'getattr' accesses on the filesystem /.
Summary: SELinux is preventing selinux-autorel from 'getattr' accesses on the filesyst...
Keywords:
Status: CLOSED DUPLICATE of bug 2385046
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4b891f343a5670e40f66fced804...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-30 14:34 UTC by marek77
Modified: 2025-07-30 16:39 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-07-30 16:39:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (645 bytes, text/plain)
2025-07-30 14:34 UTC, marek77
no flags Details
File: description (2.00 KB, text/plain)
2025-07-30 14:34 UTC, marek77
no flags Details

Description marek77 2025-07-30 14:34:45 UTC
Description of problem:
SELinux is preventing selinux-autorel from 'getattr' accesses on the filesystem /.

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

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

Additional Information:
Source Context                system_u:system_r:selinux_autorelabel_generator_t:
                              s0
Target Context                system_u:object_r:fs_t:s0
Target Objects                / [ filesystem ]
Source                        selinux-autorel
Source Path                   selinux-autorel
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.2-1.fc42.noarch
Local Policy RPM              selinux-policy-targeted-42.2-1.fc42.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.15.7-200.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Jul 17 17:57:16 UTC 2025
                              x86_64
Alert Count                   152
First Seen                    2025-07-30 16:03:38 CEST
Last Seen                     2025-07-30 16:31:00 CEST
Local ID                      6e1cc1b4-aa4d-409e-aa17-9e3e38fbfb37

Raw Audit Messages
type=AVC msg=audit(1753885860.600:101852): avc:  denied  { getattr } for  pid=18399 comm="grep" name="/" dev="nvme0n1p3" ino=2 scontext=system_u:system_r:selinux_autorelabel_generator_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0


Hash: selinux-autorel,selinux_autorelabel_generator_t,fs_t,filesystem,getattr

Version-Release number of selected component:
selinux-policy-targeted-42.2-1.fc42.noarch

Additional info:
reporter:       libreport-2.17.15
component:      selinux-policy
type:           libreport
hashmarkername: setroubleshoot
package:        selinux-policy-targeted-42.2-1.fc42.noarch
kernel:         6.15.7-200.fc42.x86_64
reason:         SELinux is preventing selinux-autorel from 'getattr' accesses on the filesystem /.
component:      selinux-policy

Comment 1 marek77 2025-07-30 14:34:48 UTC
Created attachment 2100486 [details]
File: os_info

Comment 2 marek77 2025-07-30 14:34:49 UTC
Created attachment 2100487 [details]
File: description

Comment 3 Zdenek Pytela 2025-07-30 16:39:48 UTC

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


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