insufficient testing for selinux, apparmor

Bug #1333182 reported by Dave Love
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
procenv
Fix Committed
Undecided
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

Revision history for this message
Dave Love (fx-gnu) wrote :

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

James Hunt (jamesodhunt)
Changed in procenv:
assignee: nobody → James Hunt (jamesodhunt)
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.