[BLFS Trac] #2339: Error from MySQL init script

BLFS Trac trac at linuxfromscratch.org
Sat May 5 12:29:06 PDT 2007

#2339: Error from MySQL init script
 Reporter:  wolfpac      |        Owner:  blfs-book at linuxfromscratch.org
     Type:  task         |       Status:  closed                        
 Priority:  normal       |    Milestone:  6.2.1                         
Component:  Bootscripts  |      Version:  SVN                           
 Severity:  normal       |   Resolution:  worksforme                    
 Keywords:               |  
Comment (by dnicholson at linuxfromscratch.org):

 I've gotta ask: why redirect stderr at all? I haven't run mysqld in a
 while, so I don't know what they're pushing to stderr, but I'd think you'd
 want to see those messages in general if you have an error in you're
 configuration or something.

 I've been going through the bootscripts quite a bit lately and see a lot
 of this redirecting of stderr to /dev/null. It bit me on the mountfs
 script when I was just getting silent FAIL. So, I don't know if it's
 applicable in this case, but what happens if you just don't redirect
 stderr at all?

Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2339#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch

More information about the blfs-book mailing list