I'm totally in the dark here. Please enlighten me. I have no idea
how the conclusions were reached from the provided data.
Gerfried Fuchs wrote:
:It seems that rxvt does a lookup for the hostname while starting and
:somehow this times out several times according to an strace:
:
:read(3, 0xbffff88c, 32) = -1 EAGAIN (Resource temporarily unavailable)
:select(4, [3], NULL, NULL, NULL) = 1 (in [3])
:read(3, "\1\204Z\0\16\0\0\0008\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0"..., 32) = 32
:readv(3, [{"-misc-fixed-medium-r-normal--14-"..., 56}, {"", 0}], 2) = 56
:writev(3, [{"1\0\3\0\1\0\4\0", 8}, {"7x14", 4}], 2) = 12
:read(3, 0xbffff85c, 32) = -1 EAGAIN (Resource temporarily unavailable)
:select(4, [3], NULL, NULL, NULL) = 1 (in [3])
:read(3, "\1\366[\0\2\0\0\0\1\0\366\0108W\244\10\0\20\0\0\0\0\0\000"..., 32) = 32
:readv(3, [{"\0047x14-fi", 8}, {"", 0}], 2) = 8
:writev(3, [{"2\0\3\0d\0\4\0", 8}, {"7x14", 4}], 2) = 12
I'm not quite sure how to interpret this, nor how you are determining
that it's trying to find your hostname. I presume fd 3 is the X connection
though if it's only selecting on 4 fd's (0-3) then where's your pty
connection? Ah, yes, it's fd 0?
Anyway, just looks like normal traffic over the X connection to me.
Where's the call to look up your hostname?
: Anyway, rxvt seems to do a search for the hostname, and doesn't seem
:to find it, just after several times, which takes about 1 minute :-/
:This seem to be a new problem, I'm using mostly rxvt for resource
:savings :-) I can't tell which of the last three releases of the
:package updates introduced this bug for I was on vacations....
Christian Zuckschwerdt wrote:
:> It seems that rxvt does a lookup for the hostname while starting and
:This is done with uname(2) not with read.
rxvt won't call uname() (directly) unless you're on QNX. And I
can't think of anywhere where it'll try to call it indirectly.
:> somehow this times out several times according to an strace
:rxvt tries to read my PWD in some strange way, have a look:
: read(5, "myhost:~/mypwd # ", 8192) = 16
: read(5, 0x80698d4, 8176) = -1 EAGAIN
:(myhost, mypwd substituted for clearness)
This looks like normal traffic from a shell over your pty connection
(to rxvt). I'm not sure why you're interpreting it as strange.
Regards,
--
Geoff Wing : <[EMAIL PROTECTED]>
Rxvt Stuff : <[EMAIL PROTECTED]>
Zsh Stuff : <[EMAIL PROTECTED]>