Re: fixfiles during yum upgrade

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/20/2012 05:02 PM, m.roth@xxxxxxxxx wrote:
> Maybe I can get a quick answer here - the current upgrade, from CentOS 6.2 
> to 6.3 frequently seems to invoke fixfiles: ps -ef | grep fix root
> 10140 10126  0 16:58 pts/0    00:00:00 /bin/bash /sbin/fixfiles -C
> /etc/selinux/targeted/contexts/files/file_contexts.pre restore
> 
> Now, I need to poweroff this server - they're doing power work in the data 
> center in the morning. Opinions on whether I can just kill that fixfiles, 
> or do I have to let it run (and this is a home directory and backup server,
> so it takes for-bloody-ever to run)?
> 
> mark
> 
> 
> 
> -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx 
> https://admin.fedoraproject.org/mailman/listinfo/selinux
> 
You can poweroff the machine.  The only risk is that you will have  a
mislabeled file.  Most labels would only effect /usr and /var.

If you want to make sure everything is labeled correctly after the machine
comes back, you can run

fixfiles restore &

And just let it run.  This basically will check every file on disk and correct
any labels that do not match the default.  If you have have large disks with a
huge amount of files on them, you could mount the disk with a context mount
and then Fixfiles would ignore the partitions.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA2C8UACgkQrlYvE4MpobP5rgCdGivoMLdQo8sDX8q6MjCE7Jek
/fsAnRtZUhjLM58dIhQ2JHpSR69ES3bQ
=RVEY
-----END PGP SIGNATURE-----
--
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