[SM-Grimoire-Bugs] [Bug 7047] mysql fails due to missing dir

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Fri Aug 29 14:15:02 EDT 2008


David Kowis <dkowis at shlrm.org> changed:

           What    |Removed                     |Added
                 CC|                            |dkowis at shlrm.org

--- Comment #10 from David Kowis <dkowis at shlrm.org>  2008-08-29 13:15:01 ---
(In reply to comment #9)
> I have just cast mysql 5.0.67 from test-0.25 for the first time on this
> particular machine and can reproduce the bugreport to some extend.
> mysql_install_db does indeed create the directory /var/lib/mysql, but the
> server still won't start because it doesn't have the privileges to write to the
> pid file /var/lib/mysql/$HOSTNAME.pid,
> unless you use "mysql_install_db --user=mysql" to create the tables. This
> command is listed in the post-installation procedures of the mysql
> documentation. After the latter command, our init script start the server
> without issues.

I think I ran mysql_install_db as the mysql user, which is the same effect :)

> The question with that is to what extent do we pre-configure the spells for the
> user. In my personal point of view we give the user what he would get by a
> manual ./configure && make && make install, and it is up to the user to make a
> running configuration out of it. As I am most likely not the only person with
> an opinion, I will leave this bug open.

We only handle package management. Our approach is the minimalistic one. We
don't start your database, because maybe you don't actually want a database
started, or you're going to import an exsting fileset (you could copy the mysql
files from another mysql). So as long as the spell installs successfully, it's
not our problem if the admin cannot figure out how to RTFM and start up the

Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the SM-Grimoire-Bugs mailing list