Re: SELinux for mock

2011-05-03 Thread Piscium
On 3 May 2011 20:47, Daniel J Walsh wrote: >> make[2]: Leaving directory `/builddir/build/BUILD/glibc-2.13/elf' >> make[1]: *** [elf/tests] Error 2 > > You can turn the protection off > > # setsebool -P allow_execstack 1 > > To allow this access.   This is the default in F15/F16 fresh installs.

Re: SELinux for mock

2011-05-03 Thread Piscium
On 3 May 2011 20:36, Daniel J Walsh wrote: big snip >> #= unconfined_t == >> # This avc can be allowed using the boolean 'allow_execstack' >> >> allow unconfined_t self:process execstack; > > > > You should report this as a bug in gcc. You mean _glibc_? Anyway, I am

Re: SELinux for mock

2011-05-03 Thread Daniel J Walsh
(I am using the targeted policy >>> on F14). >>> >>> The wiki has instructions on how to set SELinux for mock: >>> http://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#SELinux_policy_module_for_mock >>> >>> I followed the instructions

Re: SELinux for mock

2011-05-03 Thread Piscium
I >> started using mock. >> >> So far I built about a dozen source packages successfully, but then >> got a SELinux snag when building glibc (I am using the targeted policy >> on F14). >> >> The wiki has instructions on how to set SELinux f

Re: SELinux for mock

2011-05-02 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/02/2011 03:12 AM, Piscium wrote: > On 1 May 2011 19:29, Piscium 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 an

Re: SELinux for mock

2011-05-02 Thread Kevin Fenzi
dozen source packages successfully, but then > got a SELinux snag when building glibc (I am using the targeted policy > on F14). > > The wiki has instructions on how to set SELinux for mock: > http://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#SELinux_policy_module_for_mock >

Re: SELinux for mock

2011-05-02 Thread Piscium
On 1 May 2011 19:29, Piscium 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 m

SELinux for mock

2011-05-01 Thread Piscium
the targeted policy on F14). The wiki has instructions on how to set SELinux for mock: http://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#SELinux_policy_module_for_mock I followed the instructions but the result of running Make was different from the expected, there was an error. [1