SELinux for mock
Kevin Fenzi
kevin at scrye.com
Mon May 2 13:06:34 UTC 2011
On Sun, 1 May 2011 19:29:50 +0100
Piscium <groknok at gmail.com> wrote:
> I like to rebuild a number of Fedora source packages for performance
> and some tweaking.
>
> In the past I have used rpmbuild for that purpose, but this weekend 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 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].
>
> 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!
Right. Thats out of date. As far as I know you don't need to do
anything special anymore. Mock handles it all.
Just run mock out of the box? Does it fail? If so, how?
kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110502/a3b6b0f4/attachment.bin
More information about the users
mailing list