insufficient testing for selinux, apparmor

Bug #1333182 reported by Dave Love on 2014-06-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
James Hunt

Bug Description

configure tests for selinux and apparmor libraries, but not for the relevant headers, so compilation fails if the development package isn't installed; e.g. HAVE_SELINUX is defined, so procenv.h tries to include the non-existent header. (I actually saw it with selinux, and apparmor looks the same.)

Also the spec file should have libselinux-devel added to BuildRequires to ensure the header is present, although it seems to be pulled in by something else in Fedora.

Related branches

Dave Love (fx-gnu) wrote :

I should have said that's with v0.35 source.

James Hunt (jamesodhunt) on 2014-06-24
Changed in procenv:
assignee: nobody → James Hunt (jamesodhunt)
James Hunt (jamesodhunt) wrote :

Thanks for reporting!

Changed in procenv:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers