chkpwd_macros.te

Tom London selinux at gmail.com
Wed Nov 10 15:40:11 UTC 2004


running rawhide/strict,

I get the following about once or twice a day:

Nov 10 06:49:17 fedora kernel: audit(1100098157.523:0): avc:  denied 
{ search } for  pid=27040 exe=/sbin/unix_chkpwd name=run dev=hda2
ino=4456484 scontext=user_u:user_r:user_chkpwd_t
tcontext=system_u:object_r:var_run_t tclass=dir
Nov 10 06:49:17 fedora kernel: audit(1100098157.523:0): avc:  denied 
{ search } for  pid=27040 exe=/sbin/unix_chkpwd name=nscd dev=hda2
ino=4556982 scontext=user_u:user_r:user_chkpwd_t
tcontext=system_u:object_r:nscd_var_run_t tclass=dir

Suggest the following:

--- SAVE/chkpwd_macros.te       2004-11-10 07:37:22.098409600 -0800
+++ ./chkpwd_macros.te  2004-11-10 07:38:32.387484758 -0800
@@ -67,6 +67,8 @@

 # for nscd
 dontaudit $1_chkpwd_t var_t:dir search;
+dontaudit $1_chkpwd_t var_run_t:dir search;
+dontaudit $1_chkpwd_t nscd_var_run_t:dir search;

 dontaudit $1_chkpwd_t fs_t:filesystem getattr;
 ')

tom

-- 
Tom London




More information about the fedora-selinux-list mailing list