fc4 samba errors { read write } { search } { remove_name }

lastic miles cspp at yahoo.com
Thu Jun 16 21:00:17 UTC 2005

I'm using FC4 and my samba gives me hard time. I'm
getting following errors in /var/log/messages:

Jun 16 13:11:47 moon kernel:
audit(1118952707.301:6371): avc:  denied  { read write
} for  pid=23062 comm="smbd" name=0 dev=devpts ino=2
tcontext=root:object_r:devpts_t tclass=chr_file
Jun 16 13:11:47 moon kernel:
audit(1118952707.539:6375): avc:  denied  { search }
for  pid=23062 comm="smbd" name=nscd dev=sda2
ino=388653 scontext=root:system_r:smbd_t
tcontext=system_u:object_r:nscd_var_run_t tclass=dir
Jun 16 13:13:15 moon kernel:
audit(1118952795.660:6385): avc:  denied  {
remove_name } for  pid=23072 comm="smbd"
name=4dgw012.log dev=sda2 ino=389496
tcontext=system_u:object_r:samba_log_t tclass=dir

I reloaded the policy from
/etc/selinux/targeted/src/policy with command make
reload, also I activated "samba_enable_home_dirs" and
I'm having inactive "use_samba_home_dirs" and

Don't get me wrong. My samba works, but I'm getting
these errors. I would like to know why these errors
are there and how to fix them?

Btw I'm getting more of these error above when I'm
starting smb daemon. After it's started, only "{
remove_name }" error is present all the time.

Thanks in advance!

L. Miles

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the fedora-selinux-list mailing list