Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302094 - Entrance svn doesn't let me log to E anymore. (PAM issues?)
Summary: Entrance svn doesn't let me log to E anymore. (PAM issues?)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: enlightenment+disabled
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-24 19:59 UTC by Luca Barbato
Modified: 2010-03-01 17:55 UTC (History)
0 users

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 Luca Barbato gentoo-dev 2010-01-24 19:59:39 UTC
Not sure if it is related to the recent pam changes, but Entrance svn doesn't let me log to E any more. I tried to use a correct pam.d file but still seems to fail somehow.
Comment 1 Christian Novak 2010-01-27 16:58:45 UTC
Same issue for me too.

emerge --info
Portage 2.2_rc61 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32 i686)
=================================================================
System uname: Linux-2.6.32-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 27 Jan 2010 11:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
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 -march=core2 -mtune=generic -pipe -fomit-frame-pointer -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mtune=generic -pipe -fomit-frame-pointer -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://mirror.netcologne.de/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
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/layman/enlightenment-niifaq /usr/local/portage/layman/arcon /usr/local/portage/layman/dev-zero /usr/local/portage/layman/dottout"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa bluetooth bzip2 cairo cleartype cli coverage cracklib crypt curl cxx dbus disk-partition dri dvb dvd dvdr edb esd ethumb fbcon firefox gdbm gif glitz gnome-keyring gpm gstreamer gtk gtk2 hal iconv injection java jpeg jpeg2k laptop lm_sensors lzma lzo madwifi mmx modules motif mp3 mpeg mpi mudflap ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcmcia pcre perl pic png pppd python quicktime readline reflection rtsp samba session speed spell spl sqlite sse sse2 ssl ssse3 svg sysfs taglib tcpd truetype unicode v4l v4l2 video vim-syntax vorbis vpnc wavpack webkit wma wps x264 x86 xcb xine xinerama xorg xpm xrandr xslt xvid zip zlib" ALSA_CARDS="hda-intel loopback virmidi" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa vga fbdev v4l" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

My /etc/pam.d/entrance:

#%PAM-1.0
auth       optional		pam_env.so
auth       include		system-login
auth       required		pam_nologin.so

account    include		system-login

password   include		system-login

session    include		system-auth
session    optional		pam_gnome_keyring.so auto_start

And entrance syslog output:

Jan 27 16:17:59 netbook entranced: Starting X server.
Jan 27 16:18:00 netbook entranced: Starting Entrance.
Jan 27 16:18:00 netbook entrance: Debug: ipc_title = /var/lib/entrance_ipc_5517
Jan 27 16:18:00 netbook entrance: entrance_ipc_init: Success
Jan 27 16:18:00 netbook entrance: Executing Init script.
Jan 27 16:18:03 netbook entrance: PAM: Success.
Jan 27 16:18:04 netbook entrance: entranced: Requesting auth for uid 1000 (/home/cnovak)
Jan 27 16:18:04 netbook entrance: _entrance_ipc_server_data = E_XAUTH_ACK
Jan 27 16:18:04 netbook entrance: Executing /etc/X11/Xsession /usr/bin/enlightenment_start
Jan 27 16:18:04 netbook entrance: Starting session for user "cnovak".
Jan 27 16:18:04 netbook entrance: pam_unix(entrance:session): session opened for user cnovak by (uid=0)
Jan 27 16:18:04 netbook entrance: Opened PAM session. cnovak : :0.
Jan 27 16:18:04 netbook entrance: DEBUG1
Jan 27 16:18:04 netbook entrance: DEBUG2
Jan 27 16:18:04 netbook entrance: DEBUG3
Jan 27 16:18:04 netbook entrance: DEBUG4
Jan 27 16:18:04 netbook entrance: DEBUG5
Jan 27 16:18:04 netbook entrance: DEBUG6
Jan 27 16:18:04 netbook entrance: DEBUG7
Jan 27 16:18:04 netbook entrance: DEBUG8
Jan 27 16:18:04 netbook entrance: entrance_ipc_shutdown: Success
Jan 27 16:18:04 netbook entrance: DEBUG9
Jan 27 16:18:04 netbook entrance: Replacing Entrance with simple login program to wait for session end.
Jan 27 16:18:04 netbook entrance: Executing PreSession script.
Jan 27 16:18:04 netbook entrance: Exec entrance login replacement: /usr/libexec/entrance/entrance_login 5532 cnovak :0
Jan 27 16:18:04 netbook entrance_login[5525]: Wait for cnovak on :0
Jan 27 16:18:04 netbook entrance_login[5525]: Wait for pid 5532
Jan 27 16:18:04 netbook entrance_login[5525]: Ending PAM session for user "cnovak".
Jan 27 16:18:04 netbook entrance_login[5525]: pam_unix(entrance:session): session closed for user cnovak
Jan 27 16:18:04 netbook entrance_login[5525]: Executing PostSession script.
Jan 27 16:18:04 netbook entrance_login[5525]: child (pid=5532, user=cnovak, display=:0)  exited with error: 127
Jan 27 16:18:04 netbook entranced: session exit: code=0, signal=0
Jan 27 16:18:04 netbook entranced: The session has ended normally.
Jan 27 16:18:05 netbook entrance: Debug: ipc_title = /var/lib/entrance_ipc_5517
Jan 27 16:18:05 netbook entrance: entrance_ipc_init: Success
Jan 27 16:18:05 netbook entrance: Executing Init script.



Comment 2 Luca Barbato gentoo-dev 2010-01-27 20:11:42 UTC
upstream provided a gentoo specific pam.d file but I still have issues.

Probably it's due the etc/X11/Session/ dir layout 
Comment 3 Thomas Sachau gentoo-dev 2010-03-01 17:55:07 UTC
Since upstream dropped the current entrance version in favor of a completly rewritten version, i close this one as WONTFIX.