When trying to update chkrootkit to 0.44-r1 I only get segfault. Reproducible: Always Steps to Reproduce: 1. emerge =chkrootkit-0.44-r1 Actual Results: # emerge -uDav chkrootkit These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] app-forensics/chkrootkit-0.44-r1 [0.44] -debug 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 1) app-forensics/chkrootkit-0.44-r1 to / >>> md5 src_uri ;-) chkrootkit-0.44.tar.gz >>> md5 src_uri ;-) chkrootkit-0.44-gentoo.diff.bz2 >>> Unpacking source... >>> Unpacking chkrootkit-0.44.tar.gz to /var/tmp/portage/chkrootkit-0.44-r1/work gzip: stdout: Broken pipe /usr/lib/portage/bin/ebuild.sh: line 360: 14729 Segmentation fault tar xzf "${DISTDIR}/${x}" ${tarvars} !!! ERROR: app-forensics/chkrootkit-0.44-r1 failed. !!! Function unpack, Line 375, Exitcode 139 !!! failure unpacking chkrootkit-0.44.tar.gz !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Unpack and compile successfully. :-) Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 17 2004, 02:15:56)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks makecheck sandbox sfperms" GENTOO_MIRRORS="http://www.gigaload.org/gentoo.org/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow acpi apache2 apm arts avi berkdb bitmap-fonts crypt encode f77 fbcon firebird font-server foomaticdb fortran gd gd-external gdbm gif gpm gtk2 imap imlib innodb java jpeg junit libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls nptl odbc oggvorbis opengl oss pam pdflib perl png pnp postgres python quicktime readline sasl sdl slang snmp socks5 spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Oh no! I have just found that I simply cannot emerge anything at all. :-( # emerge -uDav IO-stringy These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] dev-perl/IO-stringy-2.109 [2.108-r1] 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 1) dev-perl/IO-stringy-2.109 to / >>> md5 src_uri ;-) IO-stringy-2.109.tar.gz >>> Unpacking source... >>> Unpacking IO-stringy-2.109.tar.gz to /var/tmp/portage/IO-stringy-2.109/work gzip: stdout: Broken pipe /usr/lib/portage/bin/ebuild.sh: line 360: 31492 Segmentation fault tar xzf "${DISTDIR}/${x}" ${tarvars} !!! ERROR: dev-perl/IO-stringy-2.109 failed. !!! Function unpack, Line 375, Exitcode 139 !!! failure unpacking IO-stringy-2.109.tar.gz !!! If you need support, post the topmost build error, NOT this status message. Changine the summary and priority.
OK, I have found that this is nss-mysql issue. This was the last package I emerged before it stopped working. After adding mysql to /etc/nsswitch.conf no more fun with emerge. :-( This is NOT working: passwd: compat mysql shadow: compat mysql group: compat mysql When I remove mysql from these lines, emerge works like a charm. WTF? I have just followed the instructions given by nss-mysql ebuild.
Aaron - is this the problem you had?
No never seen such thing. It's definitely doesn't have anything to do with chkrootkit (or forensics) though.
OK, looks like Bug 61644 (CANTFIX) and Bug 7969 (INVALID). If this cannot be solved, I
OK, looks like Bug 61644 (CANTFIX) and Bug 7969 (INVALID). If this cannot be solved, I´d suggest that this package should be hardmasked as it simply breaks portage. Should I have a look at libnss-mysql instead? That one looks like a live project, I had a look at nss-mysql homapage and it seems pretty much dead...
i'll leave it up to someone who actually knows something about this package that said, this should probably be removed from the base-system herd, we dont want it :P
Robin, perhaps you can take a look at this package. It appears use maintain mysql to a certain extent.
are you running nscd? does nss-mysql work at all? try "getent -s mysql passwd"
I tried nscd, it _mostly_ helps with the segfault problem, but its just a workaround. And yes, nss-mysql is working. I am looking at libnss-mysql because nss-mysql really seems dead upstream (correct me if I
I tried nscd, it _mostly_ helps with the segfault problem, but its just a workaround. And yes, nss-mysql is working. I am looking at libnss-mysql because nss-mysql really seems dead upstream (correct me if I´m wrong).
I say we ditch nss-mysql in the tree, in favour of libnss-mysql. nss-mysql is not maintained by upstream anymore, and has problems (beyond just this one).