ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] dns и etcnet
Date: Tue, 28 Mar 2006 12:02:50 +0400
Message-ID: <4428EDAA.4050908@ats-manager.stc.donpac.ru> (raw)
In-Reply-To: <4428E1AB.4030906@ats-manager.stc.donpac.ru>

[-- Attachment #1: Type: text/plain, Size: 110 bytes --]

> Полный вывод strace -f ping test в аттаче

вот теперь в аттаче :)

-- 
С уважением, Прокопьев Евгений

[-- Attachment #2: ping-strace.log --]
[-- Type: text/x-log, Size: 10578 bytes --]

execve("/bin/ping", ["ping", "test"], [/* 27 vars */]) = 0
uname({sys="Linux", node="test.mydomain.com", ...}) = 0
brk(0)                                  = 0x8063000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=10730, ...}) = 0
mmap2(NULL, 10730, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f35000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240U\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1140208, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f34000
mmap2(NULL, 1146964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e1b000
mmap2(0xb7f2d000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x112) = 0xb7f2d000
mmap2(0xb7f31000, 8276, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f31000
close(3)                                = 0
mprotect(0xb7f2d000, 4096, PROT_READ)   = 0
munmap(0xb7f35000, 10730)               = 0
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=1238, ...}) = 0
fstat64(2, {st_mode=S_IFREG|0644, st_size=1296, ...}) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3
getuid32()                              = 0
setgroups32(0, [])                      = 0
brk(0)                                  = 0x8063000
brk(0x8084000)                          = 0x8084000
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1854, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f37000
read(4, "#\n# Please refer to nsswitch.con"..., 4096) = 1854
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb7f37000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=10730, ...}) = 0
mmap2(NULL, 10730, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7f35000
close(4)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\32"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=34180, ...}) = 0
mmap2(NULL, 37508, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7e11000
mmap2(0xb7e19000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7) = 0xb7e19000
close(4)                                = 0
munmap(0xb7f35000, 10730)               = 0
open("/etc/passwd", O_RDONLY)           = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1703, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f37000
read(4, "root:x:0:0:System Administrator:"..., 4096) = 1703
close(4)                                = 0
munmap(0xb7f37000, 4096)                = 0
chroot("/var/resolv")                   = 0
chdir("/")                              = 0
setgid32(101)                           = 0
setuid32(100)                           = 0
open("/dev/urandom", O_RDONLY)          = -1 ENOENT (No such file or directory)
getpid()                                = 2824
getppid()                               = 2823
gettimeofday({1143540140, 102722}, NULL) = 0
getpid()                                = 2824
open("/dev/urandom", O_RDONLY)          = -1 ENOENT (No such file or directory)
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1718341389
open("/etc/resolv.conf", O_RDONLY)      = -1 EACCES (Permission denied)
uname({sys="Linux", node="test.mydomain.com", ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/host.conf", O_RDONLY)        = -1 EACCES (Permission denied)
open("/etc/hosts", O_RDONLY)            = -1 EACCES (Permission denied)
open("/etc/ld.so.cache", O_RDONLY)      = -1 EACCES (Permission denied)
open("/lib/tls/i686/sse2/libnss_nisplus.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0xbff4a650) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libnss_nisplus.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xbff4a650)     = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libnss_nisplus.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0xbff4a650)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_nisplus.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbff4a650)          = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libnss_nisplus.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0xbff4a650)    = -1 ENOENT (No such file or directory)
open("/lib/i686/libnss_nisplus.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xbff4a650)         = -1 ENOENT (No such file or directory)
open("/lib/sse2/libnss_nisplus.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0xbff4a650)         = -1 ENOENT (No such file or directory)
open("/lib/libnss_nisplus.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\31"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=42344, ...}) = 0
mmap2(NULL, 45564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7e05000
mmap2(0xb7e0f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9) = 0xb7e0f000
close(4)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3204\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=72592, ...}) = 0
mmap2(NULL, 83968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7df0000
mmap2(0xb7e01000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x10) = 0xb7e01000
mmap2(0xb7e03000, 6144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e03000
close(4)                                = 0
uname({sys="Linux", node="test.mydomain.com", ...}) = 0
open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libnss_nis.so.2", O_RDONLY)  = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\33"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=34232, ...}) = 0
mmap2(NULL, 37408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7de6000
mmap2(0xb7dee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7) = 0xb7dee000
close(4)                                = 0
uname({sys="Linux", node="test.mydomain.com", ...}) = 0
open("/lib/libnss_dns.so.2", O_RDONLY)  = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\r\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=17760, ...}) = 0
mmap2(NULL, 20612, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7de0000
mmap2(0xb7de4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3) = 0xb7de4000
close(4)                                = 0
open("/lib/libresolv.so.2", O_RDONLY)   = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320%\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=63220, ...}) = 0
mmap2(NULL, 76720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7dcd000
mmap2(0xb7ddc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xe) = 0xb7ddc000
mmap2(0xb7dde000, 7088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7dde000
close(4)                                = 0
open("/dev/urandom", O_RDONLY)          = -1 ENOENT (No such file or directory)
getpid()                                = 2824
getppid()                               = 2823
gettimeofday({1143540140, 106318}, NULL) = 0
getpid()                                = 2824
open("/dev/urandom", O_RDONLY)          = -1 ENOENT (No such file or directory)
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1718341389
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("0.0.0.0")}, 28) = 0
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
gettimeofday({1143540140, 106717}, NULL) = 0
poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(4, "\237\311\1\0\0\1\0\0\0\0\0\0\4test\10mydomain\3com\0\0"..., 35, 0) = 35
poll([{fd=4, events=POLLIN, revents=POLLERR}], 1, 5000) = 1
close(4)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("0.0.0.0")}, 28) = 0
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
gettimeofday({1143540140, 107085}, NULL) = 0
poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(4, "\237\311\1\0\0\1\0\0\0\0\0\0\4test\10mydomain\3com\0\0"..., 35, 0) = 35
poll([{fd=4, events=POLLIN, revents=POLLERR}], 1, 5000) = 1
close(4)                                = 0
write(2, "ping: unknown host test\n", 24ping: unknown host test
) = 24
exit_group(2)                           = ?
Process 2824 detached

  reply	other threads:[~2006-03-28  8:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24 14:02 Eugene Prokopiev
2006-03-24 14:14 ` Шенцев Алексей Владимирович
2006-03-24 15:04   ` Eugene Prokopiev
2006-03-25  9:47     ` Sergey
2006-03-25 13:12 ` Alexey Borovskoy
2006-03-28  7:11 ` Eugene Prokopiev
2006-03-28  8:02   ` Eugene Prokopiev [this message]
2006-03-28  8:11     ` Alexey I. Froloff
2006-03-28  8:28   ` Yuriy Kashirin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4428EDAA.4050908@ats-manager.stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git