Skip to Content.
Sympa Menu

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

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 7047] mysql fails due to missing dir
  • Date: 29 Aug 2008 18:15:02 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=7047


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
database.


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




Archive powered by MHonArc 2.6.24.

Top of Page