pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48271: mysqld (5.5) startup fails during boot if console login is started



The following reply was made to PR pkg/48271; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48271: mysqld (5.5) startup fails during boot if console
 login is started
Date: Wed, 9 Oct 2013 04:29:30 +0000

 On Fri, Oct 04, 2013 at 09:30:00AM +0000, 
Wolfgang.Stukenbrock%nagler-company.com@localhost wrote:
  >     Mysql server is monitored by a shell script called mysqld_safe
  >     that wil try to restart the server if it terminates in an
  >     unexpected way.
  >     This scripts writes messages on stdout.
  >     But after the getty is started on /dev/console, stdout of this
  >     script has been revoked and any write will fail. When
  >     mysqld_safe tries to write, SIGPIPE is triggerd.  SIGPIPE is
  >     not ingnored, so default action is taken that will immedialy
  >     kill the process.
 
 ... I wouldn't have expected /dev/console to generate SIGPIPE.
 Certainly ptys don't; you get EIO. And other stuff that opens the
 console during boot normally gets to keep writing to it (AFAICR).
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index