[13222] in Athena Bugs
sun4 7.7Q: /etc/rc2.d/S90athena
daemon@ATHENA.MIT.EDU (Yoav Yerushalmi)
Thu Feb 16 19:48:09 1995
To: bugs@MIT.EDU
Date: Thu, 16 Feb 1995 19:48:01 EST
From: Yoav Yerushalmi <yoav@MIT.EDU>
System name: snow-goon
Type and version: SPARC/Classic 7.7Q
Display type: cgthree
What were you trying to do?
What's wrong:
A solaris machine, which has in /etc/athena/rc.conf:
NEWMAILCF = true
RVDCLIENT = false
errors in attempting to copy the sendmail.cf file over. it
probably shouldn't error, but instead notice the lack of the file and
not proceed with the attempted copy (which is how I believe other
platforms deal).
What should have happened:
It shouldn't have errored.
Please describe any relevant documentation references:
init(1M)
possible fix:
*** /etc/rc2.d/S90athena Fri Jan 6 06:40:06 1995
--- /etc/rc2.d/S90athena Thu Feb 16 19:43:36 1995
***************
*** 208,215 ****
# Dealing with sendmail.cf
if [ "${NEWMAILCF}" = "true" ];then
echo "copying sendmail.cf..."
! cp -p /srvd/etc/mail/sendmail.cf /etc/mail/sendmail.cf
! cp -p /srvd/etc/mail/aliases /etc/mail/aliases
fi
# no matter what freeze the configuration
/usr/lib/sendmail -bz
--- 208,219 ----
# Dealing with sendmail.cf
if [ "${NEWMAILCF}" = "true" ];then
echo "copying sendmail.cf..."
! if [ -f /srvd/etc/mail/sendmail.cf ]; then
! cp -p /srvd/etc/mail/sendmail.cf /etc/mail/sendmail.cf
! fi
! if [ -f /srvd/etc/mail/aliases ]; then
! cp -p /srvd/etc/mail/aliases /etc/mail/aliases
! fi
fi
# no matter what freeze the configuration
/usr/lib/sendmail -bz