cvs commit: BLFS/BOOK/introduction/welcome changelog.xml

igor at linuxfromscratch.org igor at linuxfromscratch.org
Sat Jan 10 08:03:56 PST 2004


igor        04/01/10 09:03:56

  Modified:    BOOK     index.xml
               BOOK/content/databases/mysql mysql-config.xml
               BOOK/introduction/welcome changelog.xml
  Log:
  modified MySQL init script to remove stale pid files
  
  Revision  Changes    Path
  1.358     +2 -2      BLFS/BOOK/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/index.xml,v
  retrieving revision 1.357
  retrieving revision 1.358
  diff -u -r1.357 -r1.358
  --- index.xml	8 Jan 2004 21:17:21 -0000	1.357
  +++ index.xml	10 Jan 2004 16:03:56 -0000	1.358
  @@ -2,8 +2,8 @@
   <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
   			"/usr/share/docbook/docbookx.dtd" [
   
  -<!ENTITY version "CVS-20040108">
  -<!ENTITY releasedate "January 8th, 2004">
  +<!ENTITY version "CVS-20040110">
  +<!ENTITY releasedate "January 10th, 2004">
   <!ENTITY blfs-version "cvs">
   
   <!ENTITY % book SYSTEM "book/book.ent">
  
  
  
  1.15      +19 -2     BLFS/BOOK/content/databases/mysql/mysql-config.xml
  
  Index: mysql-config.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/content/databases/mysql/mysql-config.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mysql-config.xml	4 Jan 2004 00:07:14 -0000	1.14
  +++ mysql-config.xml	10 Jan 2004 16:03:56 -0000	1.15
  @@ -76,8 +76,25 @@
   case "$1" in
           start)
                   echo "Starting MySQL daemon..."
  -                if test -s "$pid_file"
  -                then print_status warning running
  +                failure=0
  +                if test -f "$pid_file"
  +                then
  +                    if /bin/ps p `cat $pid_file` | grep mysqld >/dev/null
  +                    then
  +                        print_status warning running
  +                        exit 1
  +                    else
  +                        rm -f $pid_file
  +                        if test -f $pid_file
  +                        then
  +                            failure=1
  +                        fi
  +                    fi
  +                fi
  +                if [ $failure = 1 ]
  +                then
  +                    (exit $failure)
  +                    evaluate_retval
                   else
                       /usr/bin/mysqld_safe --user=mysql 2>&1 >/dev/null &
                       evaluate_retval
  
  
  
  1.887     +3 -0      BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.886
  retrieving revision 1.887
  diff -u -r1.886 -r1.887
  --- changelog.xml	8 Jan 2004 21:17:21 -0000	1.886
  +++ changelog.xml	10 Jan 2004 16:03:56 -0000	1.887
  @@ -11,6 +11,9 @@
   
   <itemizedlist>
   
  +<listitem><para>January 10th, 2004 [igor]: Completed the MySQL init
  +script fix as suggested by Alexander E. Patrakov.</para></listitem>
  +
   <listitem><para>January 8th, 2004 [igor]: Updated to
   ProFTPD-1.2.9.</para></listitem>
       
  
  
  



More information about the blfs-book mailing list