Hide Forgot
SELinux is preventing polkit-agent-he from 'write' accesses on the file /home/ROMANOV/mjanthony/.xsession-errors. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that polkit-agent-he should be allowed write access on the .xsession-errors 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: # grep polkit-agent-he /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c 0.c1023 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects /home/ROMANOV/mjanthony/.xsession-errors [ file ] Source polkit-agent-he Source Path polkit-agent-he Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.9.16-39.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux fedora-lpt.romanov.anthonyconsulting.net 2.6.40.6-0.fc15.x86_64 #1 SMP Tue Oct 4 00:39:50 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Sun 23 Oct 2011 05:44:04 PM CDT Last Seen Sun 23 Oct 2011 05:44:04 PM CDT Local ID 99aa6861-5980-46f3-a0aa-d51f26d69674 Raw Audit Messages type=AVC msg=audit(1319409844.141:119): avc: denied { write } for pid=3244 comm="polkit-agent-he" path="/home/ROMANOV/mjanthony/.xsession-errors" dev=dm-2 ino=262153 scontext=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file Hash: polkit-agent-he,policykit_auth_t,user_home_t,file,write audit2allow #============= policykit_auth_t ============== #!!!! This avc is allowed in the current policy allow policykit_auth_t user_home_t:file write; audit2allow -R #============= policykit_auth_t ============== #!!!! This avc is allowed in the current policy allow policykit_auth_t user_home_t:file write;
You will need to say the policy how /home/ROMANOV/mjanthony should be labelled using "semanage" # semanage fcontext -a -e /home /home/ROMANOV # restorecon -R -v /home/ROMANOV