Bug 1933687 - SELinux is preventing accounts-daemon from 'watch' accesses on the directory /etc/gdm.
Summary: SELinux is preventing accounts-daemon from 'watch' accesses on the directory ...
Keywords:
Status: CLOSED DUPLICATE of bug 1928546
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:78c389d65513eb781f21f0d916c...
: 1934573 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-01 13:10 UTC by Stephen Gallagher
Modified: 2021-03-09 11:32 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-03-01 14:09:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2021-03-01 13:10:25 UTC
Description of problem:
SELinux is preventing accounts-daemon from 'watch' accesses on the directory /etc/gdm.

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

If you believe that accounts-daemon should be allowed watch access on the gdm directory 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 '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                          <Unknown>
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.7-22.fc34.noarch
Local Policy RPM              selinux-policy-targeted-3.14.7-22.fc34.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.10.16-200.fc33.x86_64 #1 SMP Sun
                              Feb 14 03:02:32 UTC 2021 x86_64 x86_64
Alert Count                   6296
First Seen                    2021-02-25 09:39:29 EST
Last Seen                     2021-03-01 08:09:26 EST
Local ID                      cc0111de-945b-4db9-b664-df698885d4c3

Raw Audit Messages
type=AVC msg=audit(1614604166.734:777): avc:  denied  { watch } for  pid=2196 comm="gmain" path="/etc/gdm" dev="dm-0" ino=348 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.7-22.fc34.noarch

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

Potential duplicate: bug 1928567

Comment 1 Zdenek Pytela 2021-03-01 14:09:32 UTC

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

Comment 2 Jan 2021-03-03 13:59:46 UTC
*** Bug 1934573 has been marked as a duplicate of this bug. ***


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