Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 665376

Summary: =dev-libs/apr-1.6.3-r3: Missing SELinux fc for /usr/share/apr/
Product: Gentoo Linux Reporter: dkjii
Component: SELinuxAssignee: SE Linux Bugs <selinux>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=738546
Whiteboard: sec-policy 2.20180701-r2
Package list:
Runtime testing required: ---
Attachments: build.log for app-admin/apache-tools-2.4.34
AVC log for failed build

Description dkjii 2018-09-06 16:30:29 UTC
Created attachment 546110 [details]
build.log for app-admin/apache-tools-2.4.34

installing =dev-libs/apr-1.6.3-r3 causes apache-tools-2.4.34 to rebuild, but SELinux policies prevent the build from completing.

building apache-tools using =dev-libs/apr-1.6.3 works

caused by apr using /usr/share/apr/build/libtool in -r3, see build.log and avc.log

I am not sure used binaries should be in /usr/share
Comment 1 dkjii 2018-09-06 16:30:52 UTC
Created attachment 546112 [details]
AVC log for failed build
Comment 2 Jonas Stein gentoo-dev 2018-09-19 17:59:03 UTC
Thank you for the report. Please recompile and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
The logs must be part of the ticket, but not on external websites.
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 3 Mira Ressel 2018-10-03 20:44:35 UTC
SELinux policy bug, I already fixed it upstream.