Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154979 - sys-libs/pam-0.99.6.3-r1 upgrade breaks fcron/vixie-cron
Summary: sys-libs/pam-0.99.6.3-r1 upgrade breaks fcron/vixie-cron
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
: 155014 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-13 01:45 UTC by Paul Taylor
Modified: 2007-12-01 14:44 UTC (History)
3 users (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 Paul Taylor 2006-11-13 01:45:37 UTC
After upgrading to pam-0.99.6.3-r1, fcron jobs fail with the following errors:

Nov 13 20:27:49 bower fcron[14816]: PAM unable to dlopen(/lib/security/pam_unix.so)
Nov 13 20:27:49 bower fcron[14816]: PAM [dlerror: /lib/security/pam_unix.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link time reference]
Nov 13 20:27:49 bower fcron[14816]: PAM adding faulty module: /lib/security/pam_unix.so
Nov 13 20:27:49 bower fcron[14816]: Could not init PAM account management for '/usr/sbin/check_system_crontabs -s 0': Module is unknown
Nov 13 20:27:49 bower fcron[9237]: Could not read job pid because of closed pipe: setting it to -1
Nov 13 20:30:00 bower fcron[16026]: PAM unable to dlopen(/lib/security/pam_unix.so)
Nov 13 20:30:00 bower fcron[16026]: PAM [dlerror: /lib/security/pam_unix.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link time reference]
Nov 13 20:30:00 bower fcron[16026]: PAM adding faulty module: /lib/security/pam_unix.so
Nov 13 20:30:00 bower fcron[16026]: Could not init PAM account management for '/home/birder/myfetchmail': Module is unknown
Nov 13 20:30:00 bower fcron[16026]: Job '/home/birder/myfetchmail' has *not* run.
Nov 13 20:30:00 bower fcron[9237]: Could not read job pid because of closed pipe: setting it to -1
Nov 13 20:30:00 bower fcron[16031]: PAM unable to dlopen(/lib/security/pam_unix.so)
Nov 13 20:30:00 bower fcron[16031]: PAM [dlerror: /lib/security/pam_unix.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link time reference]
Nov 13 20:30:00 bower fcron[16031]: PAM adding faulty module: /lib/security/pam_unix.so
Nov 13 20:30:00 bower fcron[16031]: Could not init PAM account management for '/usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons': Module is unknown
Nov 13 20:30:00 bower fcron[9237]: Could not read job pid because of closed pipe: setting it to -1
Nov 13 20:30:00 bower fcron[16031]: Job '/usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons' has *not* run.

I've tried running revdep-rebuild (including --library with libpam.so and pam_unix.so), and also rebuilding all packages listed as depending on pam.


# emerge --info
Portage 2.1.2_rc1-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.12.6
Last Sync: Mon, 13 Nov 2006 08:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.60
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -msse -mfpmath=sse -fomit-frame-pointer"
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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -msse -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.iinet.com.au/linux/Gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_AU"
LC_ALL="en_AU"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://136.186.1.76/gentoo-portage"
USE="x86 3dnow 3dnowext X acl acpi alsa apache2 arts async bash-completion berkdb bitmap-fonts cairo cdr chroot cli cracklib crypt cups dbus dlloader dmi dri dvd dvdr eds elibc_glibc emboss encode fam firefox fortran gd gdbm gif gnome gpm gstreamer gtk hal iconv imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux libclamav libg++ lm_sensors mad maildir mikmod mmap mmx mmxext modperl mp3 mpeg mpm-worker ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection server session spamassassin spell spl sse ssl symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales video_cards_nvidia vim-syntax virus-scan vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 ebfe 2006-11-13 07:24:17 UTC
sure your rebuild included fcron ?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-13 08:31:40 UTC
Restart cron, if it still doesn't work, then rebuild it.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-13 09:01:55 UTC
*** Bug 155014 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Skwar 2006-11-13 09:26:25 UTC
(In reply to comment #3)
> *** Bug 155014 has been marked as a duplicate of this bug. ***

After I rebuilding vixie-cron, theses messages went away for me.
Comment 5 Paul Taylor 2006-11-13 12:47:46 UTC
Yes, I rebuilt and restarted fcron.  I also reinstalled the crontabs (e.g. systab, which appears to replace what used to go in root's crontab) - the message appeared for the new systab entries as well.

After reverting to pam-0.78-r5 the problem went away.
Comment 6 Paul Taylor 2006-11-13 21:44:47 UTC
After reinstalling pam-0.99.6.3-r1 and rebuilding dependent packages (using revdep-rebuild and those returned by "equery depends pam"), I haven't had a repeat of the messages.