On 02/02/2012 01:42 PM, Dmitry Makovey wrote:
Hi list, I know I have asked that question before and the answer was to use "semanage/setsebool" from %post section. However here's my dilemma: say I have packageA and packageB, both running some "semanage/setsebool" combinations that overlap (most likely case for the setsebool). If I mirror statements in %post into the %postun whenever I uninstall packageA I will be wiping settings needed by packageB. How are people dealing with those? It doesn't look like Fedora/RedHat has some strict policy or guideline on that (or do they? did I miss it?) so I am interested how are others coping with this? Falling back to manual process? Some extra scripting?
Even if you uninstall both packageA and packageB, how can you be sure that said boolean was not set prior to the installation of either of those packages, and is still required by something else installed on the system? -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it. -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux