[1494] in Moira
Re: spwatch.gen
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue Mar 28 20:37:23 2000
Message-Id: <200003290137.UAA02372@w20-spare-ultra2.mit.edu>
To: Jonathon Weiss <jweiss@MIT.EDU>
cc: Garry Zacheiss <zacheiss@MIT.EDU>, moiradev@MIT.EDU, cfox@MIT.EDU
In-Reply-To: Your message of "Tue, 28 Mar 2000 19:54:05 EST."
<200003290054.TAA515791@deliverator.mit.edu>
Date: Tue, 28 Mar 2000 20:37:19 -0500
From: Garry Zacheiss <zacheiss@MIT.EDU>
>> > + $outfile = '/moira/dcm/spwatch.out';
>>
>> Is the outfile supposed to be passed in as an argument? I thought it
>> was, but I'm not sure why I thought that, so I could be completely
>> confused.
dcm always tries to exec servicename.gen with the argument
DCM_DIR/servicename.out ; we tend to be somewhat schizophrenic about
whether we pay attention to it. In this case, taintperl will flame you
if you try to open a file passed on the command line for writing, so we
hard code the output file.
And while I'm thinking about it, have a Makefile.in patch.
Index: Makefile.in
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/gen/Makefile.in,v
retrieving revision 1.18
diff -c -r1.18 Makefile.in
*** Makefile.in 2000/02/27 19:10:54 1.18
--- Makefile.in 2000/03/29 01:27:06
***************
*** 43,50 ****
postoffice.gen print.gen warehouse.gen www.gen zephyr.gen
SCRIPTS=boot.sh hesiod.sh mailhub.sh ndb.sh nfs.sh null.sh \
! postoffice.sh print.sh sapprint.gen sapprint.sh warehouse.sh \
! www.sh zephyr.sh install_dirs install_quotas zero_quotas
.SUFFIXES: .pc .gen
--- 43,51 ----
postoffice.gen print.gen warehouse.gen www.gen zephyr.gen
SCRIPTS=boot.sh hesiod.sh mailhub.sh ndb.sh nfs.sh null.sh \
! postoffice.sh print.sh sapprint.gen sapprint.sh spwatch.gen \
! warehouse.sh www.sh zephyr.sh install_dirs install_quotas \
! zero_quotas
.SUFFIXES: .pc .gen