Summary: SELinux is preventing /usr/libexec/accounts-daemon "dac_override" access . Detailed Description: [accounts-daemon has a permissive type (accountsd_t). This access was not denied.] SELinux denied access requested by accounts-daemon. It is not expected that this access is required by accounts-daemon and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:accountsd_t:s0-s0:c0.c1023 Target Context system_u:system_r:accountsd_t:s0-s0:c0.c1023 Target Objects None [ capability ] Source accounts-daemon Source Path /usr/libexec/accounts-daemon Port <Unknown> Host (removed) Source RPM Packages accountsservice-0.6-2.fc13 Target RPM Packages Policy RPM selinux-policy-3.7.16-2.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.33.1-24.fc13.x86_64 #1 SMP Tue Mar 30 18:21:22 UTC 2010 x86_64 x86_64 Alert Count 3 First Seen Mon 12 Apr 2010 03:23:17 PM MDT Last Seen Mon 12 Apr 2010 03:23:17 PM MDT Local ID 4995e311-e3cc-4fca-98c8-0c8ecfb4a333 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1271107397.633:23668): avc: denied { dac_override } for pid=2151 comm="accounts-daemon" capability=1 scontext=system_u:system_r:accountsd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:accountsd_t:s0-s0:c0.c1023 tclass=capability node=(removed) type=AVC msg=audit(1271107397.633:23668): avc: denied { read } for pid=2151 comm="accounts-daemon" name="shadow" dev=sdb1 ino=66 scontext=system_u:system_r:accountsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:shadow_t:s0 tclass=file node=(removed) type=AVC msg=audit(1271107397.633:23668): avc: denied { open } for pid=2151 comm="accounts-daemon" name="shadow" dev=sdb1 ino=66 scontext=system_u:system_r:accountsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:shadow_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1271107397.633:23668): arch=c000003e syscall=2 success=yes exit=9 a0=7fc681e995ca a1=80000 a2=1b6 a3=0 items=0 ppid=1 pid=2151 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="accounts-daemon" exe="/usr/libexec/accounts-daemon" subj=system_u:system_r:accountsd_t:s0-s0:c0.c1023 key=(null) Hash String generated from catchall,accounts-daemon,accountsd_t,accountsd_t,capability,dac_override audit2allow suggests: #============= accountsd_t ============== allow accountsd_t self:capability dac_override; allow accountsd_t shadow_t:file { read open };
I had installed the accountsdialog and accountsservice packages and used the UI to give myself "administrator" status. After logging in following a reboot, this AVC message appears. This message is accompanied by the one in Bug 581662.
*** Bug 581662 has been marked as a duplicate of this bug. ***
Fixed in selinux-policy-3.7.18-1.fc13
I found selinux-policy-3.7.19-1.fc13 in koji, which fixed this bug for me, so presumably selinux-policy-3.7.18-1.fc13 would have worked too.
I am however getting this AVC when using the Account Information dialogue to either create or remove users.
Ira, Does selinux-policy-3.7.19-1.fc13 fix the problem or not?
selinux-policy-3.7.19-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-2.fc13
With selinux-policy-3.7.19-1.fc13, I don't get the AVC errors as soon as I log in, but I seem to get the same AVC error (setroubleshooter points me back to this bug when I report it) when I add or remove users using the Account Information dialogue (accounts-dialog). I'll try selinux-policy-3.7.19-2.fc13 and see how it goes.
With selinux-policy-3.7.19-2.fc13 I'm still getting the AVC when adding or removing users.
Ira, what does #audit2allow -la output?
selinux-policy-3.7.19-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-2.fc13
# audit2allow -la #============= accountsd_t ============== allow accountsd_t self:capability dac_override;
Fixed in selinux-policy-3.7.19-4.fc13.noarch
Is this package available somewhere? I don't see it in Bodhi or Koji.
It should be in Koji now.
selinux-policy-3.7.19-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
I've tested creating and deleting users and I haven't had any AVC errors. It works for me.