Great Circle Associates Majordomo-Users
(January 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: "Unsafe to exec" explained ... sort of
From: Jack Repenning <jackr @ dblues . engr . sgi . com>
Date: Fri, 20 Jan 1995 15:43:24 -0800
To: Majordomo list <majordomo-users @ greatcircle . com>

Ah, well ... problem solved, new problem discovered.

md-1.93:

majordomo.pl: main'log calls main'lopen, but does not arrange to
find it.  The only main'lopen I can find is in shlock.pl, which
is often included along with majordomo.pl, but not by
request-answer.  So, request-answer fails to parse, and I had
added the require of shlock.pl.  That fixed the main'lopen
whine, but produced my other problem, because ...

request-answer defines main'do_exec_sendmail (even though it
gets a perfectly good one from majordomo.pl).  Unlike every
other do_exec_sendmail, this particular one takes no arguments,
providing its own sendmail command line.  But r-a was getting
bound to the majordomo.pl version, not its own, which barfs on
lack of arguments.  (Indeed, it is only at the point of this
very barf that the missing main'lopen becomes an issue!)

My solution:

(1) have majordomo.pl require shlock, since it uses some of its
facilities
(2) have request-answer use the same do_exec_sendmail as
everyone else.

My remaining question: Isn't *everyone* running into this with
1.93?  Even if this problem is new to 1.93 (I've no idea - it's
my first time), how come I'm the first to run into it?


Jack Repenning                M/S 1-875      jackr@wpd.sgi.com
Silicon Graphics, Inc.         x3-3027      Off:(415) 390-3027
Visual Magic Division                       Fax:(415) 390-6056


Follow-Ups:
Indexed By Date Previous: restricting one subscription
From: klm@umich.edu
Next: Re: "Unsafe to exec" explained ... sort of
From: "John P. Rouillard" <rouilj@cs.umb.edu>
Indexed By Thread Previous: restricting one subscription
From: klm@umich.edu
Next: Re: "Unsafe to exec" explained ... sort of
From: "John P. Rouillard" <rouilj@cs.umb.edu>

Google
 
Search Internet Search www.greatcircle.com