Hello Lance,

Wednesday, October 23, 2002, 4:16:16 PM, you wrote:

>>LU> I have /tmp symlinked to /var/tmp, and /var is a writable partition,
>>while /
>>LU> is readonly.  When / is readonly mysqld is not able to run.
>>
>>LU> I've tracked down the problem to the safe_mysqld script. The problem is it
>>LU> does:
>>
>>LU>     USER_OPTION=""
>>LU>     if test -w /
>>LU>     then
>>LU>       if test "$user" != "root" -o $SET_USER = 1
>>LU>       then
>>LU>         USER_OPTION="--user=$user"
>>LU>       fi
>>
>>LU> So if / is not writable then my --user argument gets blown away. Yikes.
>>
>>LU> I believe this is a bug. If anyone knows why it's like this please let me
>>LU> know. Until then I'll be patching my system so I can continue running...
>>
>>If I got you right, then /usr is readonly, too. In this case hardly
>>you can run your FreeBSD box....

LU> Yes. /usr is readonly too. This box is being run as a webserver, so once I 
LU> setup the world there's no need for it to be writable. All data I need 
LU> written goes in /var.

Well, mea culpa - I've just found the "test -w /" line above. I will
check it out.

LU> -Lance



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to