sudo hangs looking for /net/root.sh



Situation:

Sol 10 - 0807 on SPARC
Sudo version 1.6.9p5 from sunfreeware.com

As any valid sudo user, including root, run: 'sudo ls' (or any other command)
Command hangs a bit, but completes. If same command run immediately after
first completes, no hang. If run after a bit (at least 15 seconds) hangs
again. Truss of sudo shows a long pause running lstat for /net/root.sh. Any
ideas?

Base time stamp: 1190314826.5460 [ Thu Sep 20 19:00:26 GMT 2007 ]
0.0000 execve("/usr/local/bin/sudo", 0xFFBFFE8C, 0xFFBFFE98) argc = 2
<snip uninteresting stuff>
0.0500 getdents64(5, 0xFF2F4000, 8192) = 664
0.0503 lstat("/lost+found/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0505 lstat("/var/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0507 lstat("/usr/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0510 lstat("/etc/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0512 lstat("/bin/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0514 lstat("/dev/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0516 lstat("/lib/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0518 lstat("/mnt/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0520 lstat("/opt/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0522 lstat("/proc/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0524 lstat("/sbin/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0527 lstat("/system/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0529 lstat("/tmp/root.sh", 0xFFBFC2D8) = 0
0.0531 lstat("/platform/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0533 lstat("/kernel/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0535 lstat("/devices/root.sh", 0xFFBFC2D8) Err#2 ENOENT
0.0537 lstat("/export/root.sh", 0xFFBFC2D8) Err#2 ENOENT
lstat("/net/root.sh", 0xFFBFC2D8) (sleeping...)
30.0715 lstat("/net/root.sh", 0xFFBFC2D8) Err#2 ENOENT
30.0731 lstat("/home/root.sh", 0xFFBFC2D8) Err#2 ENOENT
30.0744 lstat("/vol/root.sh", 0xFFBFC2D8) Err#2 ENOENT
30.0747 getdents64(5, 0xFF2F4000, 8192) = 0
<command completes>
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: any way to track commands of a user logged in through ssh
    ... applies _to that command only_. ... the command they want to run with 'sudo', ... I use/run a Shell command that requires 'root' privileges...Especially ... So what do you think about creating a separate 'group' for certain ...
    (comp.os.linux.misc)
  • Re: Problems with su/sudo
    ... admin account on the command line and then sudo from there. ... Having the root account "disabled" ... the above sequence does work from an admin account in the default ...
    (comp.sys.mac.system)
  • Re: Vote for new Ubuntu Feature---Lets try it again
    ... If I sudo <command> (and am ... authorised to so that command) my privileges are upped to root (or ... you want to do several commands as root. ...
    (Ubuntu)
  • Re: Im Beaten
    ... sudo is a command that means "do as su. ... then the command is run as root. ... man sudoers has some examples on how to allow an app to be ran ...
    (Ubuntu)
  • Re: Im Beaten
    ... which lists which users are allowed to user "sudo" ... then the command is run as root. ... man sudoers has some examples on how to allow an app to be ran ...
    (Ubuntu)