Bug #5652 | [patch] tcpwrapper support is broken on systems using an unmodified tcpwrapper | ||
---|---|---|---|
Submitted: | 19 Sep 2004 15:33 | Modified: | 24 Dec 2004 15:35 |
Reporter: | Peter Edwards | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0, 4.1, 5.0 | OS: | FreeBSD (FreeBSD (and possibly others)) |
Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
[19 Sep 2004 15:33]
Peter Edwards
[9 Nov 2004 12:31]
pineau benjamin
Same thing there with GNU/Linux, Slackware 9.1 (that uses Venema's original tcpd code from 1996, and gcc 3.2.3): mysql 4.1.7 won't even compile ! Here are the last lines of logs from compilation on Linux Slackware: ./configure --prefix=/usr/local/mysql \ --enable-thread-safe-client \ --with-berkeley-db \ --with-innodb \ --with-csv-storage-engine \ --with-libwrap \ --with-mysqld-user="_mysql" \ --with-openssl \ --enable-assembler \ --enable-local-infile \ --with-vio \ --with-extra-charsets=complex \ --with-ndbcluster \ --with-ndb-shm gmake [...] if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../bdb/build_unix -I../innobase/include -I../ndb/include -I../ndb/include/ndbapi -I../include -I../regex -I. -O3 -DDBUG_OFF -DHAVE_BROKEN_REALPATH -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysqld.o -MD -MP -MF ".deps/mysqld.Tpo" \ -c -o mysqld.o `test -f 'mysqld.cc' || echo './'`mysqld.cc; \ then mv -f ".deps/mysqld.Tpo" ".deps/mysqld.Po"; \ else rm -f ".deps/mysqld.Tpo"; exit 1; \ fi /usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)': /usr/include/tcpd.h:131: too many arguments to function `void sock_host()' mysqld.cc:3528: at this point in file /usr/include/tcpd.h:69: too many arguments to function `int hosts_access()' mysqld.cc:3529: at this point in file /usr/include/tcpd.h:124: too many arguments to function `char* eval_client()' mysqld.cc:3537: at this point in file make[4]: *** [mysqld.o] Error 1 make[4]: Leaving directory `/tmp/mysql-4.1.7/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/mysql-4.1.7/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/mysql-4.1.7/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mysql-4.1.7' make: *** [all] Error 2
[24 Dec 2004 15:35]
Ramil Kalimullin
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: fixed in 4.0.24