[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: processes: mysql will not start when "useshell=dumb"
From: |
Russell Adams |
Subject: |
Re: processes: mysql will not start when "useshell=dumb" |
Date: |
Fri, 6 Aug 2004 09:56:12 -0500 |
User-agent: |
Mutt/1.4.2.1i |
Were you able to force the filehandles closed using "2<&-" on the end
of your start script?
Russell
On Fri, Aug 06, 2004 at 12:46:26AM -0700, Andreas Falck wrote:
> Russell Adams <RLAdams@Kelsey-Seybold.com> wrote in message
> news:<mailman.2829.1091717813.1960.help-cfengine@gnu.org>...
> > >From the FAQ/Hints pages:
> >
> > http://www.cfengine.org/confdir/hangingprocs.html
>
> You were right, it's a bug in the MySQL startup script:
>
> http://bugs.mysql.com/bug.php?id=1815
>
> "[..] output of "/etc/init.d/mysql start" [..] is piped into script
> which reads stdin - pipe is never closed."
>
> Fixed in MySQL Server 4.0.17.
>
> BTW: In addition to 'dumb' mode, may I suggest a
> "useshell=force_close_std[err|in|out]" option to processes that closes
> the corresponding pipe?
>
> --
> Andreas
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine