First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 195017
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 195017 depends on: Show dependency tree
Bug 195017 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-07 18:39 0000
cracklib update to sys-libs/cracklib-2.8.10 breaks passwd command causing the
following error:
passwd: Critical error - immediate abort

I fixed it re-emerging cracklib and shadow:
emerge -1 cracklib shadow

More information in:
http://forums.gentoo.org/viewtopic-p-4340381.html

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4,
2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Sun, 07 Oct 2007 11:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa ape arts asf audiofile avahi avi bash-completion
bcmath beagle bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia
cdr cdrparanoia cli cpdflib cracklib cross crypt css cups curl curlwrappers
daap dbus divx4linux dts dv dvb dvd dvdr dvdread emerald encode escreen esd
exif fam fbcon ffmpeg firefox flac foomaticdb fortran ftp galago gb gcj gd gif
gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml
guile hal iconv imagemagick imlib ipv6 isdnlog jabber jack java jikes jpeg kde
kdeenablefinal kdehiddenvisibility latex lcms lesstif libnotify logrotate mac
mad mbox midi mikmod mime ming mmap mmx mmxext mng modplug mono motif mp3 mpeg
mpi mplayer mudflap musepack musicbrainz nas ncurses nethack nls nocd nptl
nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl openmp opnegl pam
pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4
quicktime readline real reflection reiserfs rpm rtc ruby scanner sdl seamonkey
session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 sse3 ssl
startup-notification svg syslog tcltk tcpd tetex tga theora threads tiff
timidity tk truetype truetype-fonts trusted type1-fonts unicode usb userlocales
v4l v4l2 vcd videos vim vorbis wifi win32codecs wma wmf wxwindows x86
xcomposite xine xml xorg xpm xv xvid zlib" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" DVB_CARDS=" " ELIBC="glibc" INPUT_DEVICES="keyboard mouse
synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU"
VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

------- Comment #1 From Ben XO 2007-10-10 11:08:55 0000 -------
I can confirm that this happened to me on more than one machine, and the
solution fixed it

------- Comment #2 From Jakub Moc (RETIRED) 2007-10-11 14:30:38 0000 -------
*** Bug 195498 has been marked as a duplicate of this bug. ***

------- Comment #3 From CJ Kucera 2007-10-11 19:21:00 0000 -------
Ah, this is actually related to bug #195527 which I just submitted awhile ago. 
This bit me too.  If you have unmerge-orphans in FEATURES, the cracklib
dictionaries end up getting removed incorrectly.  This is because in the old
version of cracklib, the files were officially owned by the package, which is
no longer the case.

If you set FEATURES="-unmerge-orphans" before merging in the update, it'd be
fine as well.  The re-emerge of cracklib works because the generated
dictionaries don't get removed since the "old" cracklib didn't own them to
begin with.

------- Comment #4 From Alan Hourihane 2007-10-22 13:15:18 0000 -------
I get this message.

bash$ passwd
New UNIX password: 
/usr/lib/cracklib_dict.pwd: No such file or directory
PWOpen: No such file or directory

------- Comment #5 From Robert Bradbury 2007-10-24 07:22:41 0000 -------
I believe to work around this bug, in addition to emerging "sys-libs/cracklib"
it is necessary to emerge "sys-apps/cracklib-words".  That provides the
dictionaries required by cracklib.  It is open to debate whether cracklib
should require cracklib-words.

------- Comment #6 From Jakub Moc (RETIRED) 2008-02-05 23:40:43 0000 -------
(In reply to comment #5)
> I believe to work around this bug, in addition to emerging "sys-libs/cracklib"
> it is necessary to emerge "sys-apps/cracklib-words".  That provides the
> dictionaries required by cracklib.  It is open to debate whether cracklib
> should require cracklib-words.

There'd be nothing broken if sys-libs/cracklib didn't create the dicts as
*orphaned* files that get unmerged by default as noted in Comment #3, this is a
horrible idea.

------- Comment #7 From SpanKY 2008-02-24 11:39:27 0000 -------
cracklib-2.8.12 is stable now so most people who hit this will get it fixed
when they upgrade

ive added a workaround check to cvs for people still on older versions:
http://sources.gentoo.org/sys-libs/cracklib/cracklib-2.8.12.ebuild?r1=1.7&r2=1.8

unfortunately, i cant make this automatic via pkg_postrm() as portage will only
execute the pkg_postrm() of the older ebuilds, not the newer ones

------- Comment #8 From Tobias Kral 2008-02-26 21:37:19 0000 -------
(In reply to comment #7)
> ive added a workaround check to cvs for people still on older versions:
> http://sources.gentoo.org/sys-libs/cracklib/cracklib-2.8.12.ebuild?r1=1.7&r2=1.8

Thanks a lot! I've just installed a "new" system on x86 with 2006.1-i586-stage3
and run into this issue. Everything worked fine.

First Last Prev Next    No search results available      Search page      Enter new bug