Utility to display its environment.

problem with selinux on RHEL

Reported by Dave Love on 2012-12-05
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
procenv
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

Dave Love (fx-gnu) wrote :
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.

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) on 2012-12-07
Changed in procenv:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers