Bug 2011125 - SELinux is preventing sddm-greeter from 'watch' accesses on the каталог /run.
Summary: SELinux is preventing sddm-greeter from 'watch' accesses on the каталог /run.
Keywords:
Status: CLOSED DUPLICATE of bug 1997282
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:157318c178ac9fff7ca2c756e98...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-06 04:05 UTC by Alexander Dyadyun
Modified: 2021-10-06 08:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-06 08:40:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexander Dyadyun 2021-10-06 04:05:04 UTC
Description of problem:
1. Start PC
2. Login to system (wayland)
SELinux is preventing sddm-greeter from 'watch' accesses on the каталог /run.

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

Если вы считаете, что sddm-greeter должно быть разрешено watch доступ к run directory по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
разрешить этот доступ сейчас, выполнив:
# ausearch -c 'sddm-greeter' --raw | audit2allow -M my-sddmgreeter
# semodule -X 300 -i my-sddmgreeter.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:var_run_t:s0
Target Objects                /run [ dir ]
Source                        sddm-greeter
Source Path                   sddm-greeter
Port                          <Неизвестно>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           filesystem-3.14-7.fc35.x86_64
SELinux Policy RPM            selinux-policy-targeted-34.21-1.fc35.noarch
Local Policy RPM              selinux-policy-targeted-34.21-1.fc35.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.14.9-300.fc35.x86_64 #1 SMP Thu
                              Sep 30 11:54:18 UTC 2021 x86_64 x86_64
Alert Count                   1
First Seen                    2021-10-06 10:54:25 +07
Last Seen                     2021-10-06 10:54:25 +07
Local ID                      a5295554-1352-419b-9f4f-b6d56c1dbe85

Raw Audit Messages
type=AVC msg=audit(1633492465.648:238): avc:  denied  { watch } for  pid=2547 comm="sddm-greeter" path="/run" dev="tmpfs" ino=1 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=dir permissive=1


Hash: sddm-greeter,xdm_t,var_run_t,dir,watch

Version-Release number of selected component:
selinux-policy-targeted-34.21-1.fc35.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.15.2
hashmarkername: setroubleshoot
kernel:         5.14.9-300.fc35.x86_64
type:           libreport

Potential duplicate: bug 1997282

Comment 1 Zdenek Pytela 2021-10-06 08:40:13 UTC

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


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