mp@mit-eddie.UUCP (Mark Plotnick) (06/14/84)
We've been unable to get sendmail to log anything in /usr/spool/mqueue/syslog. Sendmail gave the spurious "Can't open /dev/console" message, but that went away when I installed some fixes to syslog.c routine that eric@berkeley and a few other people sent awhile ago. But syslog still didn't log anything, and /etc/syslog would occasionally go into infinite loops. I tried all combinations of {fixed,nonfixed} versions residing in {/lib/libc.a,/usr/src/usr.bin/sendmail/lib/libsys.a}, but nothing worked. I just looked at another machine here that was genned from the same tape ours was. It apparently has the vanilla sendmail distribution and vanilla libc.a, but its syslog WORKS. The only difference between their machine and our machine, actually, is that they have internet support and we don't. We have INET and the inet and loop pseudo-devices in our config file, but we really aren't on the internet, so we don't have a /dev/il0 and don't run /etc/ifconfig in the rc file like the other machine does. Could this have something to do with the problem? How much does sendmail's syslog depend on the internet stuff? Mark
mp@mit-eddie.UUCP (06/16/84)
Thanks for the prompt responses from several folks at CCI. It turns out that the entry for the local machine (mit-eddie, in our case) has to appear as the FIRST entry in /etc/hosts, BEFORE the localhost entry. I'm told that rochester!bukys' fix to daemon.c/myhostname() from last week will fix not only the ``w'' class problem (which we had never noticed because we define w in the sendmail.cf file), but the syslog problem as well. Mark