Re: Trouble with mounted /home

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

 



--- "Christopher J. PeBenito" <cpebenito@xxxxxxxxxx> wrote:

> On Thu, 2007-11-15 at 15:28 -0800, Hal wrote:
> > hi all
> > I have problem with Selinux targeted policy and mounted user home dirs on
> F8.
> > 
> > What I did was:
> > # mkfs -t ext3 /dev/sdb1
> > # mount /dev/sdb1 /home
> > 
> > # useradd test1
> > # passwd test1
> > 
> > # useradd -Z xguest_u test2 
> > # passwd test2
> > 
> > # vi /etc/fstab 
> > and added /dev/sdb1 as /home
> > 
> > from the GUI I have set targeted/enforcing and checked relabel on reboot.
> > 
> > # reboot
> > 
> > In the gdm I tried to login as test1 and test2 with no success. A message
> pops
> > up on the screen saying that /home/test1 or /home/test2 does not exist
> > respectively.
> > 
> > when I set permissive no problems at all despite of some avc denials about
> > tomboy and /tmp...
> > 
> > It seems there are no messaages in /var/log/messages in enforcing mode...
> > 
> > So can anybody tell me how to use selinux with a mounted home?
> > 
> > By the way /home/test1 and /home/test2 have the correct labeling.
> 
> Does /home have the right label?  Are you sure the DAC permissions
> (regular unix perms) are correct?

With selinux disabled everything works fine. And the labels look ok just as if
home was a part of the same FS when everything works.



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux