|
From: Heiko Z. <he...@zu...> - 2008-04-10 14:44:36
|
Quoting Bruce Smith <bw...@ar...>: >> > --- mysql 27 Mar 2008 14:27:03 -0000 1.23 >> > +++ mysql 10 Apr 2008 14:00:51 -0000 1.24 >> > @@ -56,7 +56,7 @@ >> > rm $TMPDIR/usr/lib/*.la || exit 1 >> > copy_docs $TMPDIR >> > rm -rf $TMPDIR/usr/mysql-test || exit 1 >> > - cp $TMPDIR/usr/share/mysql/my-small.cnf $ETCDIR/etc/my.cnf || exit 1 >> > + sed 's/^\[mysqld\] *$/&\nuser\t\t= mysql/' >> > $TMPDIR/usr/share/mysql/my-small.cnf > $ETCDIR/etc/my.cnf || exit 1 >> > mkdir -p $CDDIR >> > copy_files $TMPDIR/usr $CDDIR || exit 1 >> > rm -rf $TMPDIR || exit 1 >> > >> >> Should we add this statement to the init script for mysql? > > You mean add the user line to my.cnf in the init.d script, instead of > giving them the default my.cnf with the user line already in there? I was thinking about a check, if it's not in there then add it, otherwise ignore. >> This would help us with custom my.cnf files, but would prevent users >> from changing the username for mysql > > I hate to go mucking with someone's customized config files without > telling them. (and we can't ask for confirmation, because we're trying > to make it boot correctly - unattended) > > This bug might get fixed in the latest version of mysql. I see you > updated it last night. I'll run a fresh compile tonight, and if the bug > is fixed, I'll change the script back. It's broke for a very long time, I doubt it's fixed. >> (is anybody really doing that?). > > I seriously doubt it. :-) -- Regards Heiko Zuerker http://www.devil-linux.org ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |