How to specify a command to run if SELinux is installed subsequent to installing a package

2009-08-12 Thread K.S. Bhaskar
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

Re: How to specify a command to run if SELinux is installed subsequent to installing a package

2009-08-12 Thread Paul Wise
Probably just run chcon at install time when selinux is active? You want the maintainer scripts stuff, which is documented here: http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html http://women.debian.org/wiki/English/MaintainerScripts -- bye, pabs http://wiki.debian.org/PaulWise

Re: How to specify a command to run if SELinux is installed subsequent to installing a package

2009-08-12 Thread Alexander Reichle-Schmehl
Hi! K.S. Bhaskar schrieb: 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