Re: Samba problems

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

 



On Sun, 2010-03-07 at 09:01 -0500, Daniel J Walsh wrote:
> On 03/07/2010 07:51 AM, Jouni Viikari wrote:
> > Hi,
> >
> > I noticed that my samba server has suddenly stopped sharing directories
> > after some updates.  Printers seems to be ok.  I have not changed any
> > configurations.  When I restart samba I get following SELinux error:
> >
> > "SELinux is preventing /usr/sbin/smbd "search" access to /.
> > Detailed Description
> > SELinux denied access requested by smbd. / may be a mislabeled. /
> > default SELinux type is root_t, but its current type is etc_runtime_t.
> > Changing this file back to the default type, may fix your problem."...
> >
> > ..but as expected:
> >
> > #ls -ldZ /.
> > dr-xr-xr-x. root root system_u:object_r:root_t:s0      /.
> >
> >
> > BR,
> >
> > Jouni
> >
> > --
> > selinux mailing list
> > selinux@xxxxxxxxxxxxxxxxxxxxxxx
> > https://admin.fedoraproject.org/mailman/listinfo/selinux
> >
> >
> >    
> Check your mount points.
> 
> The kernel reports "/" for the root of all mount points.

Thanks.

The mount point was alright (system_u:object_r:samba_share_t:s0), 
but it's parent directory seemed to have bad type for some reason:
etc_runtime_t instead of usr_t.  I did not understand to check the
parent last time.

BR,

Jouni


--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

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

  Powered by Linux