Messages in this thread | | | Date | Thu, 28 Mar 1996 07:51:21 -0500 | From | "Michael D. Black" <> | Subject | Watch out for sendmail and 1.3.78 |
| |
After installing 1.3.78 I tried to do a "newaliases" which gave a segmentation violation. This was on an a.out system: close(7) = -1 EBADF (Bad file number) close(6) = -1 EBADF (Bad file number) close(5) = -1 EBADF (Bad file number) close(4) = -1 EBADF (Bad file number) close(3) = -1 EBADF (Bad file number)
And then SIGSEG!
I retrieved sendmail.8.7.tar.gz from sunsite, compiled and everything is OK now.
Then I tested newaliases on an ELF machine with 1.3.78 and had a slightly different problem:
chdir("/var/spool/mqueue") = 0 open("/etc/aliases", O_RDWR) = 3 fcntl(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 sigaction(SIGINT, {SIG_IGN}, {0x80107e0, [INT], 0}) = 0 stat("/etc/aliases", {st_mode=S_IFREG|0644, st_size=11, ...}) = 0 open("/etc/aliases.pag", O_RDWR|O_CREAT, 0644) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=12288, ...}) = 0 SYS_143(0x4, 0x6, 0x1c0, 0x803ff80, 0x6) = 0 ftruncate(4, 0) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 brk(0x8041000) = 0x8041000 write(4, "\316\232W\23\0\20\0\0\0\20\0\0\0"..., 4096) = 4096 write(4, "\0 \0\0\0 \0\0\0 \0\0\0 \0\0\0 \0"..., 4096) = 4096 write(4, "\1\0\0\0\0\20\0\0\0000\0\0\0\0\0"..., 4096) = 4096 fsync(4) = 0 stat("/etc/aliases.dir", {st_mode=S_IFREG|0644, st_size=12288, ...}) = 0 fcntl(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0} <unfinished ...>
It stopped on the fcntl statement, it wouldn't respond to a CTRL-C but did suspend with CTRL-Z. Once again I compiled 8.7 on this system and everything is OK again.
So...I guess this is a "Watch out for sendmail and 1.3.78!" - /----------------------------------------------------------\ | Mike Black mblack@csihq.com 407-676-5118, x203 | | Computer Science Innovations, Inc. 407-676-2355 FAX | | Melbourne FL 32904-2314 http://www.csihq.com | \----------------------------------------------------------/
| |