From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97308828420407.tru64-unix-managers.marc@archive.invalid> From: Nikola Milutinovic Date: Wed, 01 Nov 2000 14:20:05 +0000 To: tru64-unix-managers Subject: UPDATE: Makemap crashes on Tru64 UNIX 4.0F X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97308828420407 I wasn't aware that 4.0F had "trace" installed. Thanks guys. Here is what happens: Legba:/# trace /usr/sbin/makemap hash access < /etc/mail/maps/access.map /usr/sbin/makemap Tracing process /proc/16623 getpagesize () = 8192 obreak (0x140010000) = 0 getuid () = 0 getgid () = 1 stat ("/etc/sia/siainitgood", 0x11fffe168) = 0 [ , <3541.522293.175 -rwx------ 1 root system 0 972462838,972462838,972462838> ] stat ("/etc/sia/matrix.conf", 0x3ffc0098f68) = 0 [ , <3541.522293.1000 -rw-r--r-- 1 root bin 2386 973087611,972462838,972462838> ] open ("/etc/sia/matrix.conf", O_RDONLY, 0666) = 4 fstat (4, 0x11fffdc40) = 0 [ , <3541.522293.1000 -rw-r--r-- 1 root bin 2386 973087611,972462838,972462838> ] ioctl (4, 0x40067408, 11fffdc18) = -1 (Not a typewriter) read (4, 0x40006008, 8192) = 2386 [, "# \n# *****************************************************************\n# * "..., ] read (4, 0x40006008, 8192) = 0 [, "", ] close (4) = 0 SASL was compiled with enable-SIA option, so I suspect this is it, but what the heck is doing here? open ("/etc/passwd.pag", O_RDONLY, 00) = -1 (No such file or directory) open ("/etc/passwd", O_RDONLY, 0666) = 4 fstat (4, 0x11fffe010) = 0 [ , <3541.522293.1691 -rw-r--r-- 1 bin bin 855 973087611,971246296,971246296> ] ioctl (4, 0x40067408, 11fffdfe8) = -1 (Not a typewriter) read (4, 0x40006008, 8192) = 855 [, "root:*:0:1:system PRIVILEGED account:/:/usr/local/bin/zsh\nnobody:*Nologin:65534:"..., ] lseek (4, -797, SEEK_CUR) = 58 close (4) = 0 Again, I suspect SASL. open ("/etc/mail/sendmail.cf", O_RDONLY, 0666) = 4 fstat (4, 0x11fffe150) = 0 [ , <3541.522293.1590 -r--r--r-- 1 root system 45397 973060534,972478262,972993546> ] ioctl (4, 0x40067408, 11fffe128) = -1 (Not a typewriter) read (4, 0x4000c808, 8192) = 8192 [, "#\n# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.\n#\tAll rights reser"..., ] read (4, 0x4000c808, 8192) = 8192 [, "RateThrottle=3\n\n# work recipient factor\n#O RecipientFactor=30000\n\n# deliver each"..., ] read (4, 0x4000c808, 8192) = 8192 [, "* > $*\t\t$: $2 < @ $[ $3 $] > $4\nR$* $| $*\t\t\t$: $2\n\n# local host aliases and pseu"..., ] read (4, 0x4000c808, 8192) = 8192 [, " syntax\t\t###\n###################################################################"..., ] read (4, 0x4000c808, 8192) = 8192 [, ":$2@$3> \nR<$+> $+\t\t$: @<$1> <$2> $| \nR@ <$+> <$*> $| <$+>\t$"..., ] read (4, 0x4000c808, 8192) = 4437 [, "$| $+\t\t$: $1 $| $(access CERTISSUER:$2 $)\nR$* $| RELAY\t\t$# RELAYCERTISSUER\nR$* $"..., ] read (4, 0x4000c808, 8192) = 0 [, "", ] close (4) = 0 OK, so, makemap sniffed through sendmail.cf. I guess it is suposed to do so. lstat ("access.db", 0x11fffdd90) = -1 (No such file or directory) lstat (".", 0x11fff5380) = 0 [ , <3464.1012485.24002 drwx------ 12 root system 8192 973087594,973077917,973077917> ] getuid () = 0 stat (".", 0x11fffd498) = 0 [ , <3464.1012485.24002 drwx------ 12 root system 8192 973087594,973077917,973077917> ] lstat ("access.db", 0x11fffd8a8) = -1 (No such file or directory) lstat (".", 0x11fff5300) = 0 [ , <3464.1012485.24002 drwx------ 12 root system 8192 973087594,973077917,973077917> ] getuid () = 0 stat (".", 0x11fffd418) = 0 [ , <3464.1012485.24002 drwx------ 12 root system 8192 973087594,973077917,973077917> ] open ("access.db", O_RDWR|O_CREAT|O_EXCL, 0644) = 4 fstat (4, 0x11fffd818) = 0 [ , <3464.1012485.29765 -rw------- 1 root system 0 973087611,973087611,973087611> ] flock ( 4, excl ) = 0 SIGNAL [4 SIGILL] EXIT [signal=4] So, when it tries to flock access.db it gets a ILLEGAL INSTRUCTION signal and dies. Any insight? access.map is a regular txt.map file, which worked on sendmail-8.9.3. Nix. -- The early bird gets the worm, but the second mouse gets the cheese.