On Nov 19, 2007 7:58 AM, Jan Falkenhagen spam.to.f@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