Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing accounts-daemon from 'unlink' accesses on the file /var/lib/AccountsService/users/gdm. ***** Plugin restorecon (99.5 confidence) suggests ************************ If you want to fix the label. /var/lib/AccountsService/users/gdm default label should be accountsd_var_lib_t. Then you can run restorecon. The access attempt may have been stopped due to insufficient permissions to access a parent directory in which case try to change the following command accordingly. Do # /sbin/restorecon -v /var/lib/AccountsService/users/gdm ***** Plugin catchall (1.49 confidence) suggests ************************** If you believe that accounts-daemon should be allowed unlink access on the gdm 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 '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:unlabeled_t:s0 Target Objects /var/lib/AccountsService/users/gdm [ file ] Source accounts-daemon Source Path accounts-daemon Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.3-15.fc30.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.20.0-0.rc7.git1.1.fc30.x86_64 #1 SMP Tue Dec 18 22:52:01 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-12-22 22:39:11 +05 Last Seen 2018-12-22 22:39:11 +05 Local ID 6e89ba72-3bb7-49e0-b206-9aa2b3eda899 Raw Audit Messages type=AVC msg=audit(1545500351.849:198): avc: denied { unlink } for pid=1056 comm="accounts-daemon" name="gdm" dev="nvme0n1p2" ino=2883642 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0 Hash: accounts-daemon,accountsd_t,unlabeled_t,file,unlink Version-Release number of selected component: selinux-policy-3.14.3-15.fc30.noarch Additional info: component: selinux-policy reporter: libreport-2.9.7 hashmarkername: setroubleshoot kernel: 4.20.0-0.rc7.git1.1.fc30.x86_64 type: libreport Potential duplicate: bug 1391416
*** This bug has been marked as a duplicate of bug 1661719 ***