Bug 2292663 - SELinux is preventing systemd-fstab-g from 'create' accesses on the file .#50-device-timeout.confc3bbb3f506140de4.
Summary: SELinux is preventing systemd-fstab-g from 'create' accesses on the file .#50...
Keywords:
Status: CLOSED DUPLICATE of bug 2292191
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 40
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:862b7a4c888eec7091ca6b66df3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-17 15:23 UTC by Coacher
Modified: 2024-06-17 16:00 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-06-17 16:00:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (699 bytes, text/plain)
2024-06-17 15:23 UTC, Coacher
no flags Details
File: description (2.19 KB, text/plain)
2024-06-17 15:23 UTC, Coacher
no flags Details

Description Coacher 2024-06-17 15:23:20 UTC
Description of problem:
During dnf upgrade. Upgraded packages:
Upgraded:
  alsa-lib-1.2.12-1.fc40.x86_64          alsa-ucm-1.2.12-1.fc40.noarch                   alsa-utils-1.2.12-1.fc40.x86_64            glibc-2.39-15.fc40.x86_64               glibc-all-langpacks-2.39-15.fc40.x86_64
  glibc-common-2.39-15.fc40.x86_64       glibc-devel-2.39-15.fc40.x86_64                 glibc-gconv-extra-2.39-15.fc40.x86_64      glibc-headers-x86-2.39-15.fc40.noarch   glibc-langpack-en-2.39-15.fc40.x86_64
  kernel-headers-6.9.4-200.fc40.x86_64   libdav1d-1.4.3-1.fc40.x86_64                    libevdev-1.13.2-2.fc40.x86_64              libxml2-2.12.8-1.fc40.x86_64            nspr-4.35.0-24.fc40.x86_64
  nss-3.101.0-1.fc40.x86_64              nss-softokn-3.101.0-1.fc40.x86_64               nss-softokn-freebl-3.101.0-1.fc40.x86_64   nss-sysinit-3.101.0-1.fc40.x86_64       nss-tools-3.101.0-1.fc40.x86_64
  nss-util-3.101.0-1.fc40.x86_64         paps-0.8.0-9.fc40.x86_64                        pylint-3.2.3-1.fc40.noarch                 python3-libxml2-2.12.8-1.fc40.x86_64    python3-pylint-3.2.3-1.fc40.noarch
  thunderbird-115.12.0-2.fc40.x86_64     thunderbird-librnp-rnp-115.12.0-2.fc40.x86_64
Installed:
  kernel-6.9.4-200.fc40.x86_64      kernel-core-6.9.4-200.fc40.x86_64      kernel-modules-6.9.4-200.fc40.x86_64      kernel-modules-core-6.9.4-200.fc40.x86_64      kernel-modules-extra-6.9.4-200.fc40.x86_64
Removed:
  kernel-6.8.9-300.fc40.x86_64      kernel-core-6.8.9-300.fc40.x86_64      kernel-modules-6.8.9-300.fc40.x86_64      kernel-modules-core-6.8.9-300.fc40.x86_64      kernel-modules-extra-6.8.9-300.fc40.x86_64
SELinux is preventing systemd-fstab-g from 'create' accesses on the file .#50-device-timeout.confc3bbb3f506140de4.

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

If you believe that systemd-fstab-g should be allowed create access on the .#50-device-timeout.confc3bbb3f506140de4 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 'systemd-fstab-g' --raw | audit2allow -M my-systemdfstabg
# semodule -X 300 -i my-systemdfstabg.pp

Additional Information:
Source Context                system_u:system_r:systemd_fstab_generator_t:s0
Target Context                system_u:object_r:systemd_cryptsetup_generator_uni
                              t_file_t:s0
Target Objects                .#50-device-timeout.confc3bbb3f506140de4 [ file ]
Source                        systemd-fstab-g
Source Path                   systemd-fstab-g
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-40.22-1.fc40.noarch
Local Policy RPM              selinux-policy-targeted-40.22-1.fc40.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.8.11-300.fc40.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon May 27 14:53:33 UTC 2024
                              x86_64
Alert Count                   3
First Seen                    2024-06-12 13:18:56 MSK
Last Seen                     2024-06-17 18:19:03 MSK
Local ID                      f2e99f0d-f158-448a-9df5-7f9a38b34067

Raw Audit Messages
type=AVC msg=audit(1718637543.17:249): avc:  denied  { create } for  pid=4083 comm="systemd-fstab-g" name=".#50-device-timeout.confc3bbb3f506140de4" scontext=system_u:system_r:systemd_fstab_generator_t:s0 tcontext=system_u:object_r:systemd_cryptsetup_generator_unit_file_t:s0 tclass=file permissive=0


Hash: systemd-fstab-g,systemd_fstab_generator_t,systemd_cryptsetup_generator_unit_file_t,file,create

Version-Release number of selected component:
selinux-policy-targeted-40.22-1.fc40.noarch

Additional info:
reporter:       libreport-2.17.15
component:      selinux-policy
kernel:         6.8.11-300.fc40.x86_64
hashmarkername: setroubleshoot
reason:         SELinux is preventing systemd-fstab-g from 'create' accesses on the file .#50-device-timeout.confc3bbb3f506140de4.
type:           libreport
package:        selinux-policy-targeted-40.22-1.fc40.noarch
component:      selinux-policy

Comment 1 Coacher 2024-06-17 15:23:22 UTC
Created attachment 2037589 [details]
File: os_info

Comment 2 Coacher 2024-06-17 15:23:24 UTC
Created attachment 2037590 [details]
File: description

Comment 3 Zdenek Pytela 2024-06-17 16:00:07 UTC

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


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