Selinux is preventing the ntpd from using potentially mislabeled files (./services)

Daniel J Walsh dwalsh at redhat.com
Fri Sep 26 15:56:23 UTC 2008


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

Claude Jones wrote:
> I'm getting lots of these alerts. I can't figure out what ./services is, and 
> the suggested fix produces the following:
> *********************************************************
> restorecon -v './services'
> restorecon:  stat error on ./services:  No such file or directory
> *********************************************************
> I get these same alerts for cupsd, dhclient, and procmail - identical wording 
> except for the service named. Does anyone know the solution?
> 
> 
vmware mislabes /etc/services in its post install.  They modify the
contents by copying the file to /tmp and then mv'ing it back to /etc.
This ends up with the file labeled rpm_script_tmp_t instead of etc_t.

So you need to run restorecon.  If you run the latest restorecond it
watches for this.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjdBicACgkQrlYvE4MpobP5sQCfW1P3oBygsV5lb4HKLVI+YE8b
b7UAn1UttwNIqa3XUBERHHuaZ9KgTYkJ
=bZjN
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list