Le mardi 26 février 2008 à 16:54 -0700, Bdale Garbee a écrit : > On Tue, 2008-02-26 at 23:01 +0100, Benoît Dejean wrote: > > Package: sudo > > Version: 1.6.9p11-1+b1 > > I don't recognize that version number. Where did you get this package > from?
sid from ftp://ftp.proxad.net/mirrors/ftp.debian.org/ (secondary mirror) > > When i run in a root shell "aptitude safe-upgrade", it works fine, no > > freeze, aptitude outputs normally and immediately. > > > > But if i do from my current user "sudo aptitude safe-upgrade", the > > whole system freezes for 5s, then it unlocks and everything gets back > > to normal. > > Offhand, and without any other info, this sounds like it might be a DNS > timeout. Do you have domain names in your sudoers file that aren't > resolvable? Running an strace might be instructive. Guess what ? sudo strace aptitude safe-upgrade doesn't have any problem. I've attached my sudoers file. No DNS names. I can't think of any DNS issue that would lock all but root processes for 5s. I've upgraded to 1.6.9p12-1 and can reproduce. Same kind of vmstat output. -- Benoît Dejean GNOME http://www.gnomefr.org/ LibGTop http://directory.fsf.org/libgtop.html
# /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the man page for details on how to write a sudoers file. # Defaults always_set_home Defaults insults #Defaults passprompt="[sudo] Mot de passe: " #Defaults umask=0777 #Defaults env_reset # Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL=(ALL) ALL #benoit localhost=(ALL) PASSWD: ALL #benoit localhost=(ALL) NOPASSWD: /bin/ls %wheel ALL=(ALL) ALL %powerdev ALL= NOPASSWD: /usr/sbin/s2ram
signature.asc
Description: Ceci est une partie de message numériquement signée