Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 197495

Summary: Updating PAM to 0.99 may break dependencies
Product: Gentoo Linux Reporter: Christian Speckner <cnspeckn>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Speckner 2007-10-30 09:49:40 UTC
After updating PAM (and of course running etc-update), I was only able to log into the machine on a perchance basis. Reemerging shadow fixed this.

Scanning through the forum suggest that the upgrade of PAM can break some of the packages depending on it, so there should be a warning to reemerge those dependencies (I didn't run revdep-rebuild, so I can't comment on it picking up my problem, but the forum posts suggest that revdep doesn't pick up at least some of the breakage, propably because some of the breaking packages dlopen PAM libraries on runtime).

The failure of a package that depends on PAM is possible fatal in the sense that the user cannot login anymore, so it would be appropiate if the package would give a ewarn to reemerge all other packages depending on PAM, just to be sure.

Reproducible: Didn't try




emerge --info

Portage 2.1.3.16 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-suspend2-r1 i686)
=================================================================
System uname: 2.6.18-suspend2-r1 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz
Timestamp of tree: Mon, 29 Oct 2007 07:00:03 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
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.18-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="-mcpu=pentium3m -mtune=pentium3m -march=pentium3m -O2 -pipe"
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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mcpu=pentium3m -mtune=pentium3m -march=pentium3m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en"
MAKEOPTS="-j1"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader doc dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap libg++ mad midi mikmod mmx motif mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcmcia pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="mouse evdev keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-30 12:40:38 UTC
No, it doesn't break any dependencies. For upgrading, the ebuild already points to http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml in cases where needed.
Comment 2 Christian Speckner 2007-10-30 13:20:34 UTC
Yep, you're right, guess I am hallucinating... I of course am a absolute loony who isn't capable of entering username and password, also, as a rule don't read documentation and upgrade pages, and just in case I did all of that, it must be my bad karma. Oh, and for the people who brought up thread http://forums.gentoo.org/viewtopic-t-607460-highlight-pam.html , they're not qualified as well because of [plug in your favorite reason here].

Honestly, I did a emerge -uDpvN world on my desktop first (which is NOT the machine this report is about), looked at the list, notices glibc and pam, did a quick search if others had gotten into trouble with upgrading these vital packages, found nothing and proceeded. The pam ebuild pointed me to the upgrade guide, which I read and after which I removed an orphaned file which used pam_stack, upgraded and all went well, not problems whatsoever.

I did the same with my girlfriends notebook (which is the machine this bug is about), and the problem I described appeared. It definitely WAS there (I am no fool), and reemerging shadow cured it.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-30 13:36:08 UTC
If you have an actual issue with pam-0.99.x upgrade, then file a new bug about your particular issue, include errors, steps to reproduce, emerge --info etc. Meanwhile, take your abstract rants elsewhere, nothing to fix here.
 
http://www.gentoo.org/doc/en/bugzilla-howto.xml