Re: selinux query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


How I mentioned on selinux@xxxxxxxxxxxxx, you replace the distribution
mysql module but you miss definitions in this module which are used in
different modules.

So the questions is your use case? Do you want to add own completely
different mysql module?

> *
> *
> *
> *
> *
> *
> *
> *
> *
> /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
> 


-- 
Miroslav Grepl
Senior Software Engineer, SELinux Solutions
Red Hat, Inc.
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux