SELinux Problems (Was: [CentOS] Forum Decorum: a reminder seems appropriate.)

Rodrigo Barbosa rodrigob at suespammers.org
Thu Mar 30 03:21:36 UTC 2006


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


On Wed, Mar 29, 2006 at 07:06:23PM -0700, Craig White wrote:
> SELinux has not been a problem for me on CentOS 4, RHEL 4 or FC-3 or
> FC-4. There have been some changes with respect to SELinux in FC-5
> including new tools and new policies and I haven't grappled with them
> yet but so far, SELinux hasn't created any obstacles that weren't
> relatively easy to solve, and yes, there were times I needed some help.

So, here is a interesting one for you :)

In one of my CentOS machines (originally installed with 4.0, not 4.3),
several of my files lost their selinux context information. Several
others are with wrong values.

Is there a way to restore the original selinux context on these files ?
Maybe using RPM (even tho I don't think the value is stored on the
RPM database, I'm not sure).

Of course, reinstalling the machine is always an option, but since it
is located on a datacenter (on another country), that might be a
bit of a PITA.

TIA,

PS.: Another one for the "Good Thing(TM)": Never hijack threads. If you
want to use the content of one e-mail to start a new thread, always
remove the "In-Reply-To:" header line. :)

- -- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEK06/pdyWzQ5b5ckRAoImAJ9AnKTrzjfXpaxDioU0bt/M4kMjPACfW01y
VF6zgElVme4QgtyLrjxoWbc=
=V31j
-----END PGP SIGNATURE-----



More information about the CentOS mailing list