Re: Trouble with mounted /home

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

 



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?

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
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