mysql-server-3.23.58-14 on FC3 x86
Daniel J Walsh
dwalsh at redhat.com
Wed Jan 19 16:49:39 UTC 2005
Tolan Blundell wrote:
> Hi,
>
> I just did a yum upgrade and it's killed MySQL, the problem seems to
> be with selinux..
>
> When I try to start mysqld it fails, and I get the following in
> /var/log/messages:
>
> [...]
> Jan 7 20:33:17 thome kernel: audit(1105129997.241:0): avc: denied {
> associate } for pid=6221 exe=/usr/libexec/mysqld name=mysql.sock
> scontext=root:object_r:unlabeled_t tcontext=system_u:object_r:fs_t
> tclass=filesystem
> Jan 7 20:33:27 thome mysqld: Starting MySQL: failed
> [...]
>
> I see from the changelog that there have been some changes to the
> selinux config in this package
>
> [...]
> * Wed Jan 05 2005 Tom Lane <tgl at redhat.com> 3.23.58-14
>
> - work around SELinux restriction that breaks mysql_install_db (bug
> #141062)
> - Add a restorecon to keep the mysql.log file in the right context
> (bz#143887)
> - Fix init script to not need a valid username for startup check
> (bz#142328)
> - Don't assume /etc/my.cnf will specify pid-file (bz#143724)
> [...]
>
> Any suggestions gratefully received :)
>
> Tolan.
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-selinux-list
Looks like you have a labeling problem. Easiest way to fix is
touch /.autorelabel
reboot
More information about the fedora-selinux-list
mailing list