On 03/23/2016 04:09 PM, Naina Emmanuel wrote:
Respected! i am having issues in compiling and installing my modules with the error #make -f /usr/share/selinux/devel/Makefile mysql.pp /usr/share/selinux/devel/include/contrib/apache.if:277: Error: duplicate definition of apache_exec(). Original definition on 131. Compiling targeted mysql module mysql.te:80: Warning: corenet_non_ipsec_sendrecv(mysqld_t) has been deprecated, use corenet_all_recvfrom_unlabeled() instead. /usr/bin/checkmodule: loading policy configuration from tmp/mysql.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/mysql.mod Creating targeted mysql.pp policy package rm tmp/mysql.mod.fc tmp/mysql.mod [root@naina mysql]# semodule -i mysql.pp libsepol.print_missing_requirements: os-mysql's global requirements were not met: type/attribute mysqld_safe_exec_t (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory). semodule: Failed! * *
Hi, Could you attach mysql.te file? Where this file comes from? Thank you.
* * * * * * * /Engr. Naina Emmanuel/* *Linux Essential Certified (LEPDC)** * *Cisco Certified Network Associate (CCNA)* *Computer Engineering Department, UET Taxila * *Information Security, CS Department, CIIT Islamabad * -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx
-- Lukas Vrabec SELinux Solutions Red Hat, Inc. -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx