Re: SELinux for mock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

On 05/02/2011 03:12 AM, Piscium wrote:
> On 1 May 2011 19:29, Piscium <groknok@xxxxxxxxx> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2+wM0ACgkQrlYvE4MpobOx5ACfWAskwNkUY+3o7mGaT2lTHbpO
OscAn3J/7IMd450iaRh6M+a3Z5C969Fn
=LjPe
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux