Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 200832

Summary: dev-db/mysql-5.0.44-r2 - mysql server with ssl does not work if you start with /etc/init.d/mysql start
Product: Gentoo Linux Reporter: Raul khalil <r.khalil>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED INVALID    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Raul khalil 2007-11-30 12:57:26 UTC
I have this in my my.conf with mysql-5.0.44-r2
[mysqld]
 ssl
 ssl-ca   = /etc/mysql/ssl/cacert.pem
 ssl-cert = /etc/mysql/ssl/servidor-cert.pem
 ssl-key  = /etc/mysql/ssl/serv-priv.pem

When I type "#/etc/init.d/mysql start" it starts properly the server but without ssl (show variables like 'have_ssl'; return DISABLED)

When I type "#/usr/sbin/mysqld" it asks for the "PEM pass phrase" and the server starts properly with have_ssl yes.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-30 16:36:04 UTC
This is NOT a Gentoo Bugzilla product bug; read the descriptions.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-15 15:15:28 UTC
You need to make SSL keys without passphrases.