Created
July 17, 2018 03:51
-
-
Save AndiSusanto15/bf3ae16781e61f2409b00223be838d42 to your computer and use it in GitHub Desktop.
Catatan bagaimana kompail modul selinux yg berantem sama service lainnya
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HOW TO GRAP AVC MODUL | |
grep -i 'avc' /var/log/audit/audit.log | audit2allow -M pxc | |
semodule -i modulename.pp | |
# HOW TO COMPAIL MANUAL | |
tahapan: | |
- kompail modul .te jadi .mod | |
- kemudian kompail .mod jadi .pp | |
- setelah itu jalan modul .pp | |
checkmodule -M -m -o modulname.mod modulname.te | |
semodule_package -o modulname.pp -m modulname.mod | |
rm -f modulname.mod | |
semodule -i modulename.pp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment