Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265947 - sys-apps/shadow-4.1.3: After login the login tty doesn't seem to be correct
Summary: sys-apps/shadow-4.1.3: After login the login tty doesn't seem to be correct
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 265948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-13 07:33 UTC by kouyu
Modified: 2009-04-20 14:06 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 kouyu 2009-04-13 07:33:17 UTC
After emerged shadow-4.1.3, I found the problem.
I modified my inittab. So after boot, I got a shell without login. 
Everything is just normal in this case. I can use ctrl-u to copy one command line, and use ctrl-y to paste that, and I startup vim, I can use backspace to delete charactors.

But if I execute /bin/login, and after login, ctrl-y doesn't work after ctrl-u, and if I press backspace in vim, it will print something like ^? instead of deleting charactors.

I downgrade shadow to 4.1.2.2, then the problems described above disappeared.

The USE flags for shadow are audit, cracklib, nls, pam
Comment 1 kouyu 2009-04-13 07:37:05 UTC
Portage 2.2_rc30 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-tuxonice x86_64)
=================================================================
System uname: Linux-2.6.29-tuxonice-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7400_@_2.80GHz-with-gentoo-2.0.0
Timestamp of tree: Mon, 13 Apr 2009 01:00:17 +0000
app-shells/bash:     4.0_p17
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.1-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse3 -mfpmath=sse -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/udev/rules.d /lib64/rc /lib64/rcscripts /lib64/udev /usr/share/vim/vimfiles/ftdetect"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -msse3 -mfpmath=sse -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en zh zh_CN zh_HK zh_TW en_US"
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 /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/gentoo-taiwan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext aalib acl acpi alsa amd64 berkdb bluetooth bzip2 cdr cjk cli cracklib crypt cups dbus directfb dri dts dv dvd fbcon fortran gdbm gif gpm gstreamer iconv ieee1394 ipv6 isdnlog javascript jpeg lame libcaca mad midi mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl png posix pppd python quicktime readline reflection sdl session socks5 spl sse sse2 sse3 ssl ssse3 startup-notification sysfs tcpd threads unicode upnp v4l v4l2 wifi x264 xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev ps2mouse serialmouse linuxinput joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh zh_CN zh_HK zh_TW en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l vesa fbdev vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-13 07:50:38 UTC
*** Bug 265948 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2009-04-13 21:33:06 UTC
you're executing `login` manually in your shell ?  why in the world would you want to do that ?
Comment 4 kouyu 2009-04-16 14:39:50 UTC
(In reply to comment #3)
> you're executing `login` manually in your shell ?  why in the world would you
> want to do that ?
> 

I executed 'login' manually in shell just for telling people how to reproduce this bug.
Comment 5 SpanKY gentoo-dev 2009-04-18 18:28:28 UTC
ok, np then.  can you try 4.1.3.1 ?  it was released with a bunch of login-specific fixes.
Comment 6 kouyu 2009-04-20 07:06:32 UTC
(In reply to comment #5)
> ok, np then.  can you try 4.1.3.1 ?  it was released with a bunch of
> login-specific fixes.
> 

Yes, I saw shadow-4.1.3.1 in portage tree, and I have updated to that new version. And until now, there is no problem for me. Maybe it need longer test.