dev-db/mysql-4.1.14 ebuild doesn't create directory: /var/log/mysql and file: /var/log/mysql/mysqld.err This prevents mysql startup. After creating them manually everything was smooth. Reproducible: Always Steps to Reproduce: Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.10 x86_64) ================================================================= System uname: 2.6.10 x86_64 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -w" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/co nfig/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi / /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -w" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage" USE="amd64 3dnowex X apache2 avi berkdb cjk crypt eds emacs emboss encode foomaticdb fortran gdbm gif graphviz gstreamer gtk gtk2 i magemagick imlib ipv6 ithreads java jpeg libwww lzw lzw-tiff memlimit mp3 mpeg mysql ncurses nls nptl nptlonly pam pdflib perl png python quicktime readline sdl session spell ssl tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode userlocales xml 2 xpm zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Same problem here while following http://www.gentoo.org/doc/en/mysql-upgrading.xml (which specifically mentions to remove /var/log/mysql). mkdir /var/log/mysql chown mysql: /var/log/mysql was enough to make mysql start again.
bad bugfix reverted
I did # cd /var/log # mkdir mysql # chown mysql:mysql mysql # chmod 750 mysql # /etc/init.d/mysql zap # /etc/init.d/mysql start only this did the trick
Yes it's not very complicated but there are other things involved like: - thrash left there from older installations - usability for bin pkg <roadmap> these issued will be worked on this week-end (2005-10-22,23) together with different ones that are blocking 4.1.15 . regards, Francesco R.
Fixed, some comment in Changelog