>Description: The distribution RPMs does not close the RPM file after install before starting MySQL.
[roott@godzilla ~]# rpm -Uvh /mnt/autofs/mirror/MySQL/MySQL-3.23.53a-1.i386.rpm [..output removed...] [roott@godzilla ~]# lsof | grep -i i386.rpm safe_mysq 3112 root 8r REG 0,10 7805706 315755 /mnt/autofs/mirror/MySQL/MySQL-3.23.53a-1.i386.rpm mysqld 3132 root 8r REG 0,10 7805706 315755 /mnt/autofs/mirror/MySQL/MySQL-3.23.53a-1.i386.rpm mysqld 3134 root 8r REG 0,10 7805706 315755 /mnt/autofs/mirror/MySQL/MySQL-3.23.53a-1.i386.rpm mysqld 3135 root 8r REG 0,10 7805706 315755 /mnt/autofs/mirror/MySQL/MySQL-3.23.53a-1.i386.rpm It has been the case with all versions of the official MySQL-RPMs I have used. Only reason for this beeing a problem is when we autoupgrade 40+ machines using cfengien and autofs, the ilesystem can not be unmounted correctly. >How-To-Repeat: Install the RPM and verify with lsof of ls /proc/xxxx/fd. >Fix: After install just stop and start MySQL with the init.d/mysql script >Submitter-Id: <submitter ID> >Originator: Martin Lorensen >Organization: Tele2 A/S >MySQL support: none >Synopsis: In RPM install filehandle to MySQL-RPM is not closed before >safe_mysqld is started >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.53a (Official MySQL RPM) >Environment: System: Linux raman.uni2.net 2.4.9-31smp #1 SMP Tue Feb 26 06:55:00 EST 2002 i686 unknown Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2) Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium' CXX='gcc' CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -mpentium' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 Oct 22 10:19 /lib/libc.so.6 -> libc-2.2.4.so -rwxr-xr-x 1 root root 1285884 Sep 9 18:10 /lib/libc-2.2.4.so -rw-r--r-- 1 root root 27336078 Sep 9 17:48 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Sep 9 17:48 /usr/lib/libc.so Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --without-berkeley-db --without-innodb --enable-assembler --enable-local-infile --with-mysqld-user=mysql --with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/ --with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql --infodir=/usr/share/info --includedir=/usr/include --mandir=/usr/share/man '--with-comment=Official MySQL RPM' CC=gcc 'CFLAGS=-O6 -fno-omit-frame-pointer -mpentium' 'CXXFLAGS=-O6 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -mpentium' CXX=gcc --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php