[12707] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips [7.7G]: rc.athena

daemon@ATHENA.MIT.EDU (jweiss@MIT.EDU)
Wed Oct 5 18:06:51 1994

From: jweiss@MIT.EDU
Date: Wed, 5 Oct 1994 18:06:40 -0400
To: bugs@MIT.EDU
Cc: jweiss@MIT.EDU, hoffmann@MIT.EDU, bug-dialup@MIT.EDU


System name:		tla
Type and version:	KN01 7.7G
Display type:		PMAX-MFB

What were you trying to do?
	Boot a 7.7 DECstation that is running sendmail 8, which
probably makes this as much of a suggestion as a bug, but it won't
harm anything.


What went wrong?
	Because sendmail 8 doesn't support frozen cf files, and
rc.athena tries to freeze the cf file and doesn't redirect the output
(so sendmail 8 doesn't know where to print the error), send mail 8
syslogs (at a rather high level) the following:

Oct  5 12:48:09 [ALFREDO.MIT.EDU] 272 sendmail: NOQUEUE: SYSERR: putoutmsg (NO-HOST): error on output channel sending "501 Frozen configurations unsupported": Bad file number    


What should have happened?
	Sendmail's output should be redirected to /dev/console, so it
just put's the message there, rather than having to syslog the longer
message.


Yo, got any documentation, or other info?
	Yeah, here's a patch:

*** /srvd/etc/athena/rc.athena	Thu Jun 16 14:56:44 1994
--- ./rc.athena	Wed Oct  5 17:53:50 1994
***************
*** 286,292 ****
  fi
  if [ -f /usr/lib/sendmail.cf ]; then
  	echo -n "Freezing sendmail configuration..."		>/dev/console
! 	/usr/lib/sendmail -bz
  	echo "done."						>/dev/console
  fi
  echo "Removing sendmail temporary files."                       >/dev/console
--- 286,292 ----
  fi
  if [ -f /usr/lib/sendmail.cf ]; then
  	echo -n "Freezing sendmail configuration..."		>/dev/console
! 	/usr/lib/sendmail -bz					>/dev/console
  	echo "done."						>/dev/console
  fi
  echo "Removing sendmail temporary files."                       >/dev/console


home help back first fref pref prev next nref lref last post