On Wed, Nov 13, 2002 at 09:05:58PM +0200, Toomas Aas wrote:
> Hello!
> 
> Given the latest security advisory about 'resolv', I decided to upgrade 
> my FreeBSD 4.6.1-RELEASE-p10 server to 4.7-RELEASE-p1 via the usual 
> cvsup and buildworld magic.
> 
> Everything else seems to have gone fine, but to my surprise after 
> upgrading two of the ports using scripts in /usr/local/etc/rc.d to 
> start didn't. One of them is MySQL server. It is started via 
> /usr/local/etc/rc.d/mysql-server.sh script, which looks like this:
> 
> -----------------------------------------------------------------------
> #!/bin/sh
> 
> case "$1" in
> start)
>  if [ -x /usr/local/bin/safe_mysqld ]; then
>   # THE BELOW IS ACTUALLY ALL ON ONE LINE
>   /usr/local/bin/safe_mysqld --user=mysql > /dev/null & && echo -n 
>    'mysqld'
>   # THE ABOVE IS ACTUALLY ALL ON ONE LINE
>   fi  
>   ;; 
> <rest of the script snipped as irrelevant>
> -----------------------------------------------------------------------

Upgrade your mysql-port. The & && construct is illegal; the newer port
fixes this.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
----------------------------------------------------------------------
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to