[13040] in Athena Bugs
decmips [7.7G]: /etc/rc & cron running sendmail -q
daemon@ATHENA.MIT.EDU (jweiss@MIT.EDU)
Mon Dec 19 09:09:02 1994
From: jweiss@MIT.EDU
Date: Mon, 19 Dec 1994 09:08:56 -0500
To: bugs@MIT.EDU
Cc: jweiss@MIT.EDU
System name: tla
Type and version: KN01 7.7G
Display type: PMAX-MFB
What were you trying to do?
see what processes were running on my workstation, but that's
only tangentially important right now. I noticed that there was a
process that looked a lot like:
sh -c sleep `echo $ADDR | awk -F. '{ print $4 * 13 }' `; /usr/lib/sendmail -q
What went wrong?
I realized that I almost never see this, which is strange,
since the fourth octet of TLA's IP addr is 218, and 218*13/60= ~47
minutes of sleep time.
It appears that /etc/rc does not suck the configuration information
out of /etc/athena/rc.conf. Since /etc/rc starts cron, there is no
way for cron to know what $ADDR is.
What should have happened?
add ". /etc/athena/rc.conf near the to of /etc/rc"
Yo, got any documentation, or other info?
Actually, the stagerring of sendmail queue running, doesn't
seem to work right on any platform. On the sun $ADDR appears to not
be defined, but inspecting the scripts show nothing obviously wrong.
> Received: from SOUTH-STATION-ANNEX.MIT.EDU by e40-po.MIT.EDU (5.61/4.7) id AA07402; Mon, 19 Dec 94 08:50:03 EST
> Received: from THE-OTHER-WOMAN.MIT.EDU by MIT.EDU with SMTP
> id AA15986; Mon, 19 Dec 94 08:50:02 EST
> Received: by the-other-woman.MIT.EDU (8.6.9/4.7.2)
> id IAA22229; Mon, 19 Dec 1994 08:50:01 -0500
> Date: Mon, 19 Dec 1994 08:50:01 -0500
> From: Mistress <root@the-other-woman.MIT.EDU>
> Message-Id: <199412191350.IAA22229@the-other-woman.MIT.EDU>
> To: root@MIT.EDU
> Subject: Output from "cron" command
> Content-Type: text
> Content-Length: 62
>
> Your "cron" job
>
> echo $ADDR
>
> produced the following output:
>
>
>
>
>
And the RS6000 doesn't even try to stagger things...