problem with selinux on RHEL

Bug #1086768 reported by Dave Love
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
procenv
Fix Released
Undecided
James Hunt

Bug Description

On RHEL5 5 or 6 with selinux disabled, getpidcon returns -1 and procenv dies reporting the LSM context.
This patch fixes it, but is likely not the right thing -- not an area I understand.

Related branches

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

Confirmed on RHEL5, also affects me now on Debian if I build with either apparmor or selinux or both but nothing enabled in the kernel. I'm working on a slightly different fix for this now to fix this error for both and allow both to be checked at run-time.

Revision history for this message
James Hunt (jamesodhunt) wrote :

Thanks to both of you. I've now merged Mikes branch.

Changed in procenv:
status: New → Fix Committed
assignee: nobody → James Hunt (jamesodhunt)
James Hunt (jamesodhunt)
Changed in procenv:
status: Fix Committed → Fix Released
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.