How to specify a command to run if SELinux is installed subsequent to installing a package
I am packaging GT.M (http://fis-gtm.com &
http://sourceforge.net/projects/fis-gtm) which is released under AGPL v3.
GT.M requires the ability to execute dynamically compiled code (it's a
feature of the MUMPS language). To give GT.M this permission with
SELinux, the usual installation of GT.M executes a command such as chcon
-t texrel_shlib_t libgtmshr.so. But this presumes that SELinux is
installed and operational. If SELinux is installed or configured later,
this command will need to be run at that time. Is there a way to tell
the Debian package manager, "if SELinux is installed or turned on, run
Thank you very much, in advance.
Senior Vice President
Fidelity Information Services, Inc.
2 West Liberty Boulevard, Suite 300
Malvern, PA 19355, USA
+1 (610) 578-4265 office
+1 (610) 620-3355 mobile
GT.M - Rock solid. Lightning fast.