[sudo-workers] sudo and stalled connections

Todd C. Miller Todd.Miller at courtesan.com
Sun Sep 14 16:58:05 EDT 2008


In message <20080914155022.0035ff94 at tux>
	so spake =?ISO-8859-1?Q?D=E2niel?= Fraga (fragabr):

> socket(PF_FILE, SOCK_DGRAM, 0)          = 4
> fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
> connect(4, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
> sendto(4, "<149>Sep 14 15:44:09 sudo:     r"..., 119, MSG_NOSIGNAL, NULL, 0) 
> = ? ERESTARTSYS (To be restarted)
> --- SIGINT (Interrupt) @ 0 (0) ---
> sendto(4, "<149>Sep 14 15:44:09 sudo:     r"..., 119, MSG_NOSIGNAL,
> NULL, 0

If this is the point at which it is hanging, what is happening is
that sudo is trying to log a message to the syslog daemon.  Note
that this is a UDP connection, not TCP so I don't know why running
nmap would wake things up.

For that matter, since UDP is a stateless protocol it doesn't make
sense that it would hang there at all unless there is a kernel
resource issue of some sort.

What is the full version of the kernel you are running?  It looks
like there were a bunch of socket fixes in 2.6.25.7.

 - todd



More information about the sudo-workers mailing list