Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310431 - sys-process/fcron-3.0.5-r2 gives PAM errors
Summary: sys-process/fcron-3.0.5-r2 gives PAM errors
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-20 20:39 UTC by Thomas Scheffler
Modified: 2010-03-22 15:31 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 Thomas Scheffler 2010-03-20 20:39:15 UTC
after updating to sys-process/fcron-3.0.5-r2 no jobs get executed by fcron

Reproducible: Always

Steps to Reproduce:
1. update zo fcron-3.0.5-r2 with pam use flag activated (default)
2. restart fcron
Actual Results:  
from cron log file:
Mar 20 21:30:02 [fcron] Could not init PAM account management for '/usr/local/sbin/update-motd': Authenticatin service cannot retrieve authentication info
Mar 20 21:30:02 [fcron] Job '/usr/local/sbin/update-motd' has *not* run.
Mar 20 21:30:02 [fcron] read_write_pipe(): read/write returned 0: retrying... (size: 4, size_processed: 0, nu_retry: 1): Success
Mar 20 21:30:02 [fcron] read_write_pipe(): read/write returned 0: retrying... (size: 4, size_processed: 0, nu_retry: 2): Success
Mar 20 21:30:03 [fcron] read_write_pipe(): read/write returned 0: retrying... (size: 4, size_processed: 0, nu_retry: 3): Success
Mar 20 21:30:04 [fcron] Could not read job pid because of closed pipe: setting it to -1


Expected Results:  
Upgrade should have worked without any issues ;o)

Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6-router i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-router-i686-AMD_Sempron-tm-_Processor_LE-1100-with-gentoo-2.0.0
Timestamp of tree: Sat, 20 Mar 2010 19:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests autoaddcvs ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.intergenia.de"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi acpi4linux aio alsa ao apache2 avahi berkdb branding bzip2 cairo cdr cli commercial consolekit contentcache cracklib crypt cups cvsgraph cxx daap dba dbus dedicated dga distcache divx4linux dnd drac dri dts dvd dvdr eds emboss encode enscript evo fam fax ffmpeg fftw firefox flac gd gdbm geoip gif gstreamer hal howl iconv id3 idn imap imlib2 insecure-drivers ipv6 ithreads jce jikes jpeg jpeg2k kde lame largeterminal ldap libnotify lm_sensors log4j mad maildir managesieve mikmod mldonkeypango mmap mmx mng modules mp3 mp4 mpeg mpeg4 mplayer mpm-worker mudflap musepack mysql mysqli ncurses new-hpcups nls nptl nptlonly ogg openmp pam passfile pcre pdf pear perl pic png posix ppds pppd pulseaudio python qemu-fast qt3support qt4 quicktime readline recode reflection samba sasl sdl semantic-desktop session sharedmem sieve sis slang slp spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb userlocales utf8 vhosts vorbis win32codecs x264 x86 xerces xml xml2 xorg xprint xrandr xulrunner xv xvid zeroconf 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-22 15:31:19 UTC
Given it refers */usr/local/*sbin/update-motd I guess the problem is your specific setup that is not part of either Gentoo's default nor supported packages.

Please do provide your PAM configuration at a minimum, but also verify it as there's a high chance that the problem is in your setup rather than in the fcron ebuild.