Package: libpam-modules
Version: 0.99.7.1-3
Severity: important
When trying to use rlogin to log in to a server running in.rlogind from
either the rsh-server or the rsh-redone-server package, the login
process seems to hang and in.rlogind is using 100% CPU time. Strace
reveals that $HOME/.rhosts is opened and read, but it seems not to
notice the end of the file, and continously tries to read in more. I
have attached the .rhosts file and the relevant output of strace.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22.1 (PREEMPT)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libpam-modules depends on:
ii libc6 2.6.1-1 GNU C Library: Shared libraries
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libdb4.6 4.6.19-1 Berkeley v4.6 Database Libraries [
ii libpam0g 0.99.7.1-3 Pluggable Authentication Modules l
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
libpam-modules recommends no packages.
-- no debconf information
ip6-localhost guus
haplo.sliepen.oi guus
haplo.sliepen.oi root
xar.sliepen.oi guus
xar.sliepen.eu.org guus
haplo.sliepen.eu.org guus
localhost guus
[...]
open("/home/users/guus/.rhosts", O_RDONLY) = 6
lstat("/home/users/guus/.rhosts", {st_mode=S_IFREG|0600, st_size=148, ...}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=148, ...}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=148, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2acca0da8000
read(6, "ip6-localhost guus\nhaplo.sliepen"..., 4096) = 148
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
open("/etc/hosts", O_RDONLY) = 7
fcntl(7, F_GETFD) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=538, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2acca0da9000
read(7, "# For loopbacking.\n127.0.0.1\tloc"..., 4096) = 538
read(7, "", 4096) = 0
close(7) = 0
munmap(0x2acca0da9000, 4096) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
open("/etc/hosts", O_RDONLY) = 7
fcntl(7, F_GETFD) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=538, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2acca0da9000
read(7, "# For loopbacking.\n127.0.0.1\tloc"..., 4096) = 538
read(7, "", 4096) = 0
close(7) = 0
munmap(0x2acca0da9000, 4096) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
open("/etc/hosts", O_RDONLY) = 7
fcntl(7, F_GETFD) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=538, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2acca0da9000
read(7, "# For loopbacking.\n127.0.0.1\tloc"..., 4096) = 538
read(7, "", 4096) = 0
close(7) = 0
munmap(0x2acca0da9000, 4096) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
open("/etc/hosts", O_RDONLY) = 7
fcntl(7, F_GETFD) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=538, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2acca0da9000
read(7, "# For loopbacking.\n127.0.0.1\tloc"..., 4096) = 538
read(7, "", 4096) = 0
close(7) = 0
munmap(0x2acca0da9000, 4096) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
open("/etc/hosts", O_RDONLY) = 7
fcntl(7, F_GETFD) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=538, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2acca0da9000
read(7, "# For loopbacking.\n127.0.0.1\tloc"..., 4096) = 538
read(7, "", 4096) = 0
close(7) = 0
munmap(0x2acca0da9000, 4096) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 50077}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "k\327\1\0\0\1\0\0\0\0\0\0\3xar\7sliepen\2eu\3org\0"..., 36,
MSG_NOSIGNAL, NULL, 0) = 36
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [105]) = 0
recvfrom(7, "k\327\205\200\0\1\0\0\0\1\0\0\3xar\7sliepen\2eu\3org\0"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 105
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 50786}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "A\v\1\0\0\1\0\0\0\0\0\0\3xar\7sliepen\2eu\3org\7"..., 48,
MSG_NOSIGNAL, NULL, 0) = 48
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [117]) = 0
recvfrom(7, "A\v\205\203\0\1\0\0\0\1\0\0\3xar\7sliepen\2eu\3org\7"..., 1024, 0,
{sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16])
= 117
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 51368}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "\206D\1\0\0\1\0\0\0\0\0\0\3xar\7sliepen\2eu\3org\7"..., 47,
MSG_NOSIGNAL, NULL, 0) = 47
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [106]) = 0
recvfrom(7, "\206D\205\203\0\1\0\0\0\1\0\0\3xar\7sliepen\2eu\3org\7"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 106
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 51935}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "T=\1\0\0\1\0\0\0\0\0\0\3xar\7sliepen\2eu\3org\4"..., 44,
MSG_NOSIGNAL, NULL, 0) = 44
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [103]) = 0
recvfrom(7, "T=\205\203\0\1\0\0\0\1\0\0\3xar\7sliepen\2eu\3org\4"..., 1024, 0,
{sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16])
= 103
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 52491}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "\1\274\1\0\0\1\0\0\0\0\0\0\3xar\7sliepen\2eu\3org\7"..., 48,
MSG_NOSIGNAL, NULL, 0) = 48
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [98]) = 0
recvfrom(7, "\1\274\201\203\0\1\0\0\0\1\0\0\3xar\7sliepen\2eu\3org\7"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 98
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 53043}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "9\256\1\0\0\1\0\0\0\0\0\0\3xar\7sliepen\2eu\3org\4"..., 47,
MSG_NOSIGNAL, NULL, 0) = 47
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [97]) = 0
recvfrom(7, "9\256\201\203\0\1\0\0\0\1\0\0\3xar\7sliepen\2eu\3org\4"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 97
close(7) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
open("/etc/hosts", O_RDONLY) = 7
fcntl(7, F_GETFD) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=538, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2acca0da9000
read(7, "# For loopbacking.\n127.0.0.1\tloc"..., 4096) = 538
read(7, "", 4096) = 0
close(7) = 0
munmap(0x2acca0da9000, 4096) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 54140}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "=T\1\0\0\1\0\0\0\0\0\0\5haplo\7sliepen\2eu\3or"..., 38,
MSG_NOSIGNAL, NULL, 0) = 38
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [107]) = 0
recvfrom(7, "=T\205\200\0\1\0\0\0\1\0\0\5haplo\7sliepen\2eu\3or"..., 1024, 0,
{sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16])
= 107
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 54718}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "-\367\1\0\0\1\0\0\0\0\0\0\5haplo\7sliepen\2eu\3or"..., 50,
MSG_NOSIGNAL, NULL, 0) = 50
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [119]) = 0
recvfrom(7, "-\367\205\203\0\1\0\0\0\1\0\0\5haplo\7sliepen\2eu\3or"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 119
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 55274}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "\213\26\1\0\0\1\0\0\0\0\0\0\5haplo\7sliepen\2eu\3or"..., 49,
MSG_NOSIGNAL, NULL, 0) = 49
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [108]) = 0
recvfrom(7, "\213\26\205\203\0\1\0\0\0\1\0\0\5haplo\7sliepen\2eu\3o"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 108
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 55833}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "\377\322\1\0\0\1\0\0\0\0\0\0\5haplo\7sliepen\2eu\3or"..., 46,
MSG_NOSIGNAL, NULL, 0) = 46
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [105]) = 0
recvfrom(7, "\377\322\205\203\0\1\0\0\0\1\0\0\5haplo\7sliepen\2eu\3"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 105
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 56391}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "\211\31\1\0\0\1\0\0\0\0\0\0\5haplo\7sliepen\2eu\3or"..., 50,
MSG_NOSIGNAL, NULL, 0) = 50
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [100]) = 0
recvfrom(7, "\211\31\201\203\0\1\0\0\0\1\0\0\5haplo\7sliepen\2eu\3o"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 100
close(7) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1188375591, 56950}, NULL) = 0
poll([{fd=7, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(7, "@\374\1\0\0\1\0\0\0\0\0\0\5haplo\7sliepen\2eu\3or"..., 49,
MSG_NOSIGNAL, NULL, 0) = 49
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(7, FIONREAD, [99]) = 0
recvfrom(7, "@\374\201\203\0\1\0\0\0\1\0\0\5haplo\7sliepen\2eu\3or"..., 1024,
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
[16]) = 99
close(7) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=153, ...}) = 0
open("/etc/hosts", O_RDONLY) = 7
fcntl(7, F_GETFD) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=538, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2acca0da9000
read(7, "# For loopbacking.\n127.0.0.1\tloc"..., 4096) = 538
read(7, "", 4096) = 0
close(7) = 0
munmap(0x2acca0da9000, 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
read(6, "", 4096) = 0
[...]
--- SIGINT (Interrupt) @ 0 (0) ---
+++ killed by SIGINT +++