Re: SELinux and mysqld

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

 



Sieranski, Greg wrote:
> When I start up mysql I receive the following alert from SELinux:
> SELinux is preventing mysqld (mysqld_t) "search" to ./gps
> (user_home_dir_t).
> 
> I did some searching around and came across a possible solution.
> 
> yum -y install selinux-policy-targeted-sources
> vi /etc/selinux/targeted/src/policy/domains/misc/local.te
> 
> add the following rules:
> 
> allow mysqld_t user_home_dir_t read;
> 
> Then:
> cd /etc/selinux/targeted/src/policy/
> make reload
> 
> Before I do this I wanted to see If I am adding the correct rule? Can
> anyone tell me if this is the right way to resolve the issue?
> 
> TIA,
> Greg Sieranski
> 
Are you on a RHEL4 machine?  This would only work for a RHEL4 machine.

The first question you should ask, is this a problem.  What probably
happened is you were in the gps directory when you restarted the daemon.

The daemon checks the current working directory and created this avc.
Not really important.

IE You can ignore it.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux