-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 05/02/2011 03:12 AM, Piscium wrote:
On 1 May 2011 19:29, Piscium groknok@gmail.com wrote:
My question is if the policy files of the wiki page are current? They are three years old, which is a long time in dog years or Fedora years!
I wonder if anybody could tell me where to get updated policy files as I am not proficient on SELinux? Or maybe can I just ignore the error and use what I got as a .pp file was created?
(I am using this after installing mock so if there was no error the next step per the wiki would be: restorecon -R /var/lib/mock /usr/bin/mock
I have not done the above yet.)
An update: I ran restorecon, rebuilt glibc, and still got the same alert from SELinux: "SELinux is preventing /builddir/build/BUILD/glibc-2.13/build-i686-linuxnptl/elf/ld.so from using the execstack access on a process."
Despite the alert, the eight binary packages were built as expected, and there were no error messages at the end of the build log. There were some earlier about broken pipes and so on.
Most of the error messages I looked at happened while tests were being performing as part of the build process, and this probably explains why there was no error at the end, i. e., failures during tests were not deemed serious enough to warrant scuppering the whole build.
Is one of the libraries marked with the execstack flag?
man execstack
You might want to see if you clear the execstack flag if everything works.