Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343397 - su segfaults when ctrl+d is pressed when it asks for the password
Summary: su segfaults when ctrl+d is pressed when it asks for the password
Status: RESOLVED DUPLICATE of bug 266603
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-30 16:34 UTC by Herbert Wantesh
Modified: 2010-11-01 11:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output - was too long to post it as comment (strace.su,24.61 KB, text/plain)
2010-10-30 16:38 UTC, Herbert Wantesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert Wantesh 2010-10-30 16:34:47 UTC
su segfaults when ctrl+d is pressed when it asks for the password

#########################

su
Password: 
Segmentation fault

#########################

[ebuild   R   ] sys-apps/shadow-4.1.4.2-r6  USE="cracklib nls pam -audit (-selinux) -skey" 0 kB

emerge --info
Portage 2.2.0_alpha2 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.2-r2, 2.6.36 x86_64)
=================================================================
System uname: Linux-2.6.36-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1
Timestamp of tree: Sat, 30 Oct 2010 15:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo kde gamerlay-stable multimedia mv x11 local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="en 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="/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/gamerlay /var/lib/layman/multimedia /var/lib/layman/mv /var/lib/layman/x11 /usr/local/portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac aalib accessibility acpi additions aften akonadi alsa amd64 amr amrnb amrwb apm archive asf aspell ass audio avi bash-completion browserplugin bzip2 cairo caps cdda cdparanoia chm clucene commercial cracklib crypt css cups curl custom-cflags custom-optimization cvs cxx daemon dbus devil dga dirac divx divx4linux djvu dri dts dvd dvdnav dvdr dvdread ebook embedded encode enda exif extensions extras faac faad fam ffmpeg firefox flac fortran ftp fts3 gcrypt gd gecko geoip gif gimp gimpprint git glib glitz gnutls gpm gs gstreamer gtk gtk2 hal httpd icecast iconv icu id3 id3tag idn imagemagick imlib inotify irda jabber java jpeg jpeg2k kde kdehiddenvisibility kipi kqemu lame lcms libsamplerate libvisual lm_sensors lzma lzo mad matroska mercurial midi mmx mmxext mng moznocompose moznoirc moznomail mp2 mp3 mp4 mpeg mplayer mtp mudflap multilib musepack mysql nas ncurses nemesi network nfs nfsv3 nls normalize nptl nptlonly nsplugin nut nvidia nxclient ogg opencore-amr openexr opengl openmp otr pam pcap pch pcre pdf perl plasma player png poppler-data ppds privacy ps qt3support qt4 quicktime raptor rar readline realmedia redland replaygain rtc rtmp rtsp sasl schroedinger scrobbler sdl secure-delete semantic-desktop server sesame2 sha512 shout slit smi smp sndfile socks5 speex spell srt sse sse2 ssh ssl startup-notification stats stream subversion svg tcpd texteffect theora threads threadsafe thumbnail tiff tk toolbar tordns transcode trayicon tremor truetype twolame udev unicode usb userlocales utempter utils v4l v4l2 vaapi vcd vcdimager vdpau video virtuoso vorbis wav wavpack webdav-neon wma wmf wmp x264 xanim xcb xcomposite xft xinerama xml xorg xpdf-headers xprint xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" 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" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp5400" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1.su
2.ctrl+d
Comment 1 Herbert Wantesh 2010-10-30 16:38:39 UTC
Created attachment 252593 [details]
strace output - was too long to post it as comment

strace output - was too long to post it as comment
Comment 2 Herbert Wantesh 2010-10-30 17:18:28 UTC
seems the problem is the ssh useflag in pam-base
rebuilding pam-base with USE="-ssh" solves the problem....
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-11-01 11:09:34 UTC

*** This bug has been marked as a duplicate of bug 266603 ***