Bug 1928567 - SELinux is preventing accounts-daemon from 'watch' accesses on the adresář /etc/gdm.
Summary: SELinux is preventing accounts-daemon from 'watch' accesses on the adresář /e...
Keywords:
Status: CLOSED DUPLICATE of bug 1928546
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:78c389d65513eb781f21f0d916c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-14 21:45 UTC by Vít Ondruch
Modified: 2021-03-09 11:32 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-02-22 09:34:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2021-02-14 21:45:06 UTC
Description of problem:
SELinux is preventing accounts-daemon from 'watch' accesses on the adresář /etc/gdm.

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

Pokud jste přesvědčeni, že má accounts-daemon mít ve výchozím stavu přístup watch na gdm 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 'accounts-daemon' --raw | audit2allow -M my-accountsdaemon
# semodule -X 300 -i my-accountsdaemon.pp

Additional Information:
Source Context                system_u:system_r:accountsd_t:s0
Target Context                system_u:object_r:xdm_etc_t:s0
Target Objects                /etc/gdm [ dir ]
Source                        accounts-daemon
Source Path                   accounts-daemon
Port                          <Neznámé>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           gdm-3.38.2.1-2.fc34.x86_64
SELinux Policy RPM            selinux-policy-targeted-3.14.8-1.fc35.noarch
Local Policy RPM              selinux-policy-targeted-3.14.8-1.fc35.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.10.15-200.fc33.x86_64 #1 SMP Wed
                              Feb 10 17:46:55 UTC 2021 x86_64 x86_64
Alert Count                   13
First Seen                    2021-02-14 22:43:43 CET
Last Seen                     2021-02-14 22:44:31 CET
Local ID                      0c91cfbb-0d9b-4e47-8344-8e78ccae73b0

Raw Audit Messages
type=AVC msg=audit(1613339071.513:620): avc:  denied  { watch } for  pid=756 comm="gmain" path="/etc/gdm" dev="nvme0n1p3" ino=120164 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:xdm_etc_t:s0 tclass=dir permissive=0


Hash: accounts-daemon,accountsd_t,xdm_etc_t,dir,watch

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

Additional info:
component:      selinux-policy
reporter:       libreport-2.14.0
hashmarkername: setroubleshoot
kernel:         5.10.15-200.fc33.x86_64
type:           libreport

Comment 1 Vít Ondruch 2021-02-14 21:54:20 UTC
This is triggered like every 5 seconds :(

Comment 2 Parag Nemade 2021-02-16 03:07:50 UTC
true

Comment 3 Michal Odehnal 2021-02-17 12:20:33 UTC
I am seeing this on RHEL-9 also with selinux-policy-3.14.7-20.el9.noarch

Comment 4 Zdenek Pytela 2021-02-22 09:34:27 UTC

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


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