Re: SELinux Enabled - Can't mount SMB shares

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 13 Sep 2004 19:17:26 +1000, Russell Coker <russell@xxxxxxxxxxxx> wrote:
> On Mon, 13 Sep 2004 05:15, Vamsee Krishna Gomatam <vamsee.krishna@xxxxxxxxx >
> wrote:
> > I've enabled SELinux on my machine running FC2. Everything went well
> > and I didn't get any "avc: denied" messages after I did a "relabel"
> > and reboot. But now, I can't mount any SMB shares. I'm able to give
> 
> Please run "dmesg" after you experience this problem and send us the AVC
> messages that seem most relevant.
> 
I am pasting the relevant dmesg output below. My pc's IP address is
172.16.20.67 and I'm mounting a folder names "songs" from 172.16.19.5
onto my /mnt/songs directory.

------------------------------dmesg output
start-------------------------------------------------------------
SELinux: initialized (dev , type smbfs), uses genfs_contexts
audit(1095086981.281:0): avc:  denied  { read } for  pid=2421
comm=smbiod laddr=172.16.20.67 lport=32771 faddr=172.16.19.5 fport=445
scontext=system_u:system_r:kernel_t tcontext=root:sysadm_r:sysadm_t
tclass=tcp_socket
smb_get_length: recv error = 13
audit(1095086981.420:0): avc:  denied  { write } for  pid=2424
exe=/usr/libexec/gnome-vfs-daemon laddr=172.16.20.67 lport=32772
faddr=172.16.19.5 fport=445 scontext=user_u:user_r:user_t
tcontext=root:sysadm_r:sysadm_t tclass=tcp_socket
SMB connection re-established (-13)
audit(1095086981.450:0): avc:  denied  { write } for  pid=2421
comm=smbiod laddr=172.16.20.67 lport=32773 faddr=172.16.19.5 fport=445
scontext=system_u:system_r:kernel_t tcontext=root:sysadm_r:sysadm_t
tclass=tcp_socket
-------------------------------dmesg output
end----------------------------------------------------------------------

Regards,
GVK

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux