[CentOS] Can not mount CIFS-Share on bootup (SELinux Problem)

Mon Nov 19 14:58:39 UTC 2007
Marcelo Roccasalva <marcelo-centos at irrigacion.gov.ar>

On Nov 19, 2007 7:58 AM, Jan Falkenhagen <spam.to.f at lkenhagen.de> wrote:
> Hello everybody, i am trying to mount a CIFS-share while booting,
> providing a credential file for the share (/root/smbpassword) - without
> success (with SElinux turned on). The share will get mounted just fine
> when typing mount -a on the shell. And it also will get mounted
> automatically during boot when SELinux ist turned off.


# cd /
# egrep smbpassword /var/log/messages | audit2allow -M cifs

Review cifs.te and if your satisfied:

# semodule -i cifs.pp

-- 
Marcelo

"¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida?" (Mafalda)