Ok, here is what I got from 'par'
0mS par( 536): was sent signal SIGUSR1
1mS par( 536): END-pause() errno = 4 (Interrupted system call)
1mS par( 536): received signal SIGUSR1
1mS par( 536): sigreturn(0x7fff2aa8) OK
1mS dbgif( 536): execve(/usr/sbin/dbgif, 0x7fff2f50, 0x7fff2f58) OK
4mS dbgif( 536): open(/lib/rld, O_RDONLY, 04) = 3
4mS dbgif( 536): read(3, <7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00>..., 52) = 52
4mS dbgif( 536): lseek(3, 52, SEEK_SET) = 52
5mS dbgif( 536): read(3, <70 00 00 00 00 00 00 a0 0f b6 00 a0 0f b6 00 a0>..., 96) = 96
5mS dbgif( 536): elfmap(3, 0x7fff225c, 2) = 0xfb60000
5mS dbgif( 536): close(3) OK
5mS dbgif( 536): getpagesize() = 4096
7mS dbgif( 536): getpid() = 536 ppid=535
7mS dbgif( 536): syssgi(SGI_TOSSTSAVE) OK
8mS dbgif( 536): open(/dev/u64_debug, O_RDWR, 02000004764) = 3
8mS dbgif( 536): socket(PF_INET, SOCK_STREAM, 0) = 4
8mS dbgif( 536): gethostname(indy64, 64) OK
8mS dbgif( 536): open(/etc/resolv.conf, O_RDONLY, 0666) = 5
8mS dbgif( 536): fstat(5, 0x7fff1c90) OK
8mS dbgif( 536): getpagesize() = 4096
8mS dbgif( 536): brk(0x10137000) OK
9mS dbgif( 536): ioctl(5, TCGETA, 0x7fff1c38) errno = 25 (Not a typewriter)
9mS dbgif( 536): read(5, "nameserver\t192.168.1.1\n", 4096) = 23
9mS dbgif( 536): read(5, 0x10134b18, 4096) = 0
9mS dbgif( 536): close(5) OK
9mS dbgif( 536): gethostname(indy64, 256) OK
9mS dbgif( 536): getpid() = 536 ppid=535
10mS dbgif( 536): getpid() = 536 ppid=535
10mS dbgif( 536): time() = 1355791715
10mS dbgif( 536): getdomainname((null), 256) OK
10mS dbgif( 536): socket(PF_INET, SOCK_DGRAM, 0) = 5
10mS dbgif( 536): connect(5, <00 02 00 35 c0 a8 01 01 00 00 00 00 00 00 00 00>, 16) OK
10mS dbgif( 536): send(5, <00 01 01 00 00 01 00 00 00 00 00 00 06 69 6e 64>..., 24, 0) = 24
11mS dbgif( 536): select(6, IN:set=5 OUT:set=5, 0, 0, sec=5 usec=0) = 1
27mS dbgif( 536): recv(5, <00 01 81 83 00 01 00 00 00 01 00 00 06 69 6e 64>..., 1024, 0) = 99
28mS dbgif( 536): close(5) OK
28mS dbgif( 536): open(/usr/lib/locale/C/LC_MESSAGES/uxsyserr, O_RDONLY, 01752601414) errno = 2 (No such file or directory)
28mS dbgif( 536): write(2, "gethostbyname call failed", 25) = 25
29mS dbgif( 536): write(2, ": ", 2) = 2
29mS dbgif( 536): write(2, "Error 0", 7) = 7
29mS dbgif( 536): write(2, "\n", 1) = 1
29mS dbgif( 536): prctl(PR_GETNSHARE) = 0
29mS dbgif( 536): exit(0)
So it finds hostname just fine, and then correctly returns null for domainname, since there is none.
But it seems to fail on:
open(/usr/lib/locale/C/LC_MESSAGES/uxsyserr, O_RDONLY, 01752601414) errno = 2 (No such file or directory)
and indeed, I do not have a:
/usr/lib/locale/C/LC_MESSAGES
directory at all ... should I ?