Re: home directory problems with Fedora 8

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

 



My reply is not selinux related but will solve you bashing the /home. Put /home on a separate file system. When you install Fedora 9 or whatever comes down the pike, install and use the advanced options for the disk layout. Do not change the lay out and make sure you know which partition belongs to which file system. Lay them out the same way and choose not to format the partitions you want to keep. Depending on what options you choose, you may have to just not do anything with the /home file system at install and add the mount after the installation over the /home directory.

Works for me.

Regards,
John



Subject:
home directory problems with Fedora 8
From:
Chris Howard <chris@xxxxxxxxxx>
Date:
Wed, 05 Dec 2007 22:51:59 -0700
To:
fedora-selinux-list@xxxxxxxxxx

To:
fedora-selinux-list@xxxxxxxxxx

Content-Transfer-Encoding:
7bit
Precedence:
junk
MIME-Version:
1.0
Reply-To:
chris@xxxxxxxxxx
Message-ID:
<1196920319.3483.7.camel@xxxxxxxxxxxxxxx>
Content-Type:
text/plain
Message:
2


I have previously existing home directories under /u01/home.
I did this because upgrading from FC6 to Fedora 7 caused me trouble
and I want to avoid having to recreate my home directory.  So I copied
the whole system into /u01 before doing a fresh Fedora 8 install.  I
do not have a separate home-only partition.

SELinux prevents me from making a symbolic link like this:

/home--> /u01/home  or like this

/home/chris--> /u01/home/chris.

If I setup a dummy user with home at /home/chris, then
edit /etc/passwd to change the home to /u01/home/chris... that doesn't
work either.

nor if I create a new user like so:

useradd -d /u01/home/pete  pete

Is there something magic about the string '/home' ?
that keeps me from creating home directories anywhere else?

I'd really love to keep from smashing /home on every OS reload.

For now I have SELinux in Permissive mode so I can at least use the
system.








------------------------------------------------------------------------

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

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

  Powered by Linux