Closed fsmunoz closed 4 years ago
@fsmunoz well done. It seems you've made changes to old versions of existing files. Please resolve conflicts so I can test SELinux on fresh install of CentOS 7.
@trunkmaster done, it should work now, I resolved the conflict with the new gdb require; note that as I said above I'm fairly sure that some changes will be needed in terms of the build process.
Equally important, even if it works it introduces a new source of possible problems: SELinux blocks calls and it's not impossible that some specific accesses only occur in some circumstances which weren't tested. At least a wiki entry on how to change to Permissive again or, better, log and send the output so it can be improved would be something I would do as a next step. Adding the GNUstep-specific modules to permissive is also possible and I would document it.
@trunkmaster done, it should work now, I resolved the conflict with the new gdb require; note that as I said above I'm fairly sure that some changes will be needed in terms of the build process.
Equally important, even if it works it introduces a new source of possible problems: SELinux blocks calls and it's not impossible that some specific accesses only occur in some circumstances which weren't tested. At least a wiki entry on how to change to Permissive again or, better, log and send the output so it can be improved would be something I would do as a next step. Adding the GNUstep-specific modules to permissive is also possible and I would document it.
Sure, we probably could try to make new release with updated install script to test it on various installations. Let me know if this part will be release ready.
This is an initial PR for #228 based on some initial goals that were achieved:
This being said the overall build process is something I don't know very well, plus:
This entire topic related with GNUstep itself so it should, going forward, be incorporated there (either based on what I did or some alternative version, as long as it works). SELinux policies have their complexity and plenty of choices (e.g. I used xmd_t for Login, I could have created a separate type just for Login, etc), and the way the GNUstep filesystems maps into different domains can actually be mapped into SELinux types, etc. I will open this conversation in gnustep-dev.