[CentOS] Copying root partition

Ben McGinnes ben at adversary.org
Thu Nov 4 11:35:46 UTC 2010


On 4/11/10 10:28 PM, Timothy Murphy wrote:
> I recently transferred the / partition on my CentOS server
> from a small disk to a large disk, using "rsync -auvz".
> 
> This works fine, except that I get dozens of selinux warnings
> when I re-boot.
> I'm running selinux in permissive mode.
> 
> Is there any way to make sure that all the files in a partition
> are kosher as far as selinux is concerned?

Try: restorecon -Rv /partition

Expect it to take a while.


Regards,
Ben


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20101104/0a98d171/attachment.sig>


More information about the CentOS mailing list