On Fri, 2007-04-27 at 17:34 -0700, Clarkson, Mike R (US SSA) wrote:
getcon and all of its variants as well as setcon do not seem to be
installed on my RHEL5 system. Are these commands part of a separate
rpm that I need to install?
They are library functions, not commands, and are part of libselinux.
libselinux is always installed (as many system components depend on it),
but for development of applications that use it, you'll want to install
libselinux-devel. Like many (all?) of the other libraries, the main
libselinux package only contains the shared library and some utilities;
the libselinux-devel package contains the headers, man pages, and static
library. You only need the -devel package for your development, not on
your production system.
National Security Agency