Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122668 - eselect mysql doesn't do all the linking
Summary: eselect mysql doesn't do all the linking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: Lowest blocker (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 04:06 UTC by Georges Toth
Modified: 2006-02-15 04:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georges Toth 2006-02-13 04:06:11 UTC
I just upgraded mysql to 4.1.18-r30, and followed the guide for slotted mysql.
when I do eselect mysql list, I get:
Available MySQL versions:
[1]   4.1.x

Then I do:
eselect mysql set 1

and eselect mysql show gives me:
Current default MySQL version:
(unset)

eselect did only link /usr/lib/mysql-401 to /usr/lib/mysql. It didn't create links for mysql binaries; which broke some applications.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 04:17:07 UTC
eselect and eselect-mysql versions?
Comment 2 Georges Toth 2006-02-13 06:38:52 UTC
app-admin/eselect 1.0
app-admin/eselect-mysql 1.0.0-r4
dev-db/mysql 4.1.18-r30
Comment 3 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-02-14 15:44:11 UTC
My MythTV server recently got upgraded to slotted MySQL by accident. I now have this message whenever I try to set a mysql version to run,

mythtv ~ # eselect mysql set 2
!!! Error: File "/usr/bin/mysql_explain_log-401" is not suitable for symlink (2) exiting.

I also have,
mythtv ~ # eselect mysql list
Available MySQL versions:
  [1]   5.0.x
  [2]   4.1.x

[ebuild   R   ] app-admin/eselect-1.0
[ebuild   R   ] app-admin/eselect-mysql-1.0.0-r4 

I don't know if this is related or not. I have tried re-emerging everthing. The emerge info for that box follows,

mythtv ~ # emerge info
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib alsa apache2 avi bash-completion berkdb bitmap-fonts cdparanoia crypt cups dlloader dv dvd dvdread eds emboss encode exif fame ffmpeg foomaticdb fortran gif gpm gstreamer gtk2 imagemagick imlib ipv6 jpeg jpeg2k kde lirc live lzo lzw lzw-tiff mjpeg mp3 mpeg mysql mythtv ncurses nptl nvidia ogg opengl pam pdflib perl png python qt quicktime readline rtc sdl spell sqlite ssl tcpd theora tiff transcode truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vorbis xinerama xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 4 Hiel Van Campen 2006-02-14 17:24:56 UTC
Dont know if this is of any help but heres a forum thread about the same
http://forums.gentoo.org/viewtopic-p-3112323.html#3112323  
Its not just this bug and bug 12858.
Comment 5 Francesco R. (RETIRED) gentoo-dev 2006-02-14 18:39:53 UTC
yes eselect has been broken for few days, the new version should work ...
please accept my apologies.
Comment 6 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-02-15 02:52:01 UTC
I have just emerged the new version, and even tried re-emerging mysql but I am still getting the same issues,

mythtv ~ # eselect mysql show
Current default MySQL version:
  (unset)
mythtv ~ # eselect mysql list
Available MySQL versions:
  [1]   5.0.x
  [2]   4.1.x
mythtv ~ # eselect mysql set 2
!!! Error: File "/usr/bin/mysql_explain_log-401" is not suitable for symlink (2) exiting.

Using app-admin/eselect-mysql-1.1.0 now. Is there something I am missing?
Comment 7 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-02-15 04:30:28 UTC
Fixed now - thanks vivo. This was due to stuff remaining from the original 4.1.14 mysql version I had installed. I needed to move /etc/mysql, do an eselect mysql distclean and then eselect mysql set 1. Finally it worked, and I then pointed the datadir at my old datadir location. Seems to be working well now. Closing.