Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15156 - "sudo su" takes 20 seconds
Summary: "sudo su" takes 20 seconds
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-05 04:57 UTC by Martti Rannanjärvi
Modified: 2003-03-03 17:28 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 Martti Rannanjärvi 2003-02-05 04:57:41 UTC
Hi,

I have to wait too much to get root by a 'sudo su', approximately 20 seconds.
This happens only in local X and in sys-apps/shadow-4.0.3 more than -r2.
It's because of
40:    cd ${S}; epatch ${FILESDIR}/${P}-su-pam_open_session.patch-v2
added in bug #8831

I have only one machine doing this. I've been using the -r0 ebuild before, but
someone asked about this on #gentoo so decided to fill a bug.

my emerge info says:

Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) 
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/afs/C /etc/afs/afsws /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 java libg++ spell zlib gdbm berkdb slang libwww perl python motif pam
ssl crypt tcpd -xface mozilla -mozaccess-builtin -mozctl -mozirc -mozxmlterm
truetype xml xml2 pdflib -plotutils tetex -guile avi mpeg quicktime alsa -esd
mikmod -oss -nas ggi -dvd xmms oggvorbis -flash -encode -ipv6 -snmp -ggz -zeo
-acl afs samba -nls -doc -gpm -3dfx -voodoo3 -matrox -apm -pcmcia nocardbus -pnp
-trusted -pda -gphoto2 -cups -slp X -dga opengl -fbcon xv -directfb -kde -arts
-gnome -bonobo -evo -gb tcltk aalib imlib ncurses readline sdl -svga -lcms -gif
jpeg png tiff -gd mmx 3dnow -sse -sse2 -qt -qtmt -gtk -gtk2 mad"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe"
CXXFLAGS="-march=athlon -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-02-09 00:44:28 UTC
i believe azarah fixed it.
Comment 2 Martti Rannanjärvi 2003-02-22 08:39:01 UTC
Well, I don't have the machine anymore.
Comment 3 Martti Rannanjärvi 2003-03-03 17:28:34 UTC
I don't have the machine anymore.

This wasn't a unique case, so maybe it'll come up later.