Great Circle Associates Majordomo-Users
(October 1994)
 

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

Subject: UID and GID for shlock changes!
From: owner @ ccnext . ucsf . edu (Richard Karpinski)
Date: Tue, 25 Oct 94 15:58:03 -0700
To: majordomo-users @ greatcircle . com

A few days ago, majordomo mail started failing in shlock.pl (line 131).
I thought perhaps someone changed sendmail.  I made shlock.pl reveal
the UID and GID when it fails (see diff below).  And now I see that 
when mail comes from the local machine, shlock gets run as them!  What
got done wrong and what can I do about it?

Dick

Enclosure: mods to reveal UID and GID

130a131,136
>               $info = `id`;
>               $dirname = $tempname;
>               $dirname =~ s/\/shlock.*$//;
>               @stats = stat($dirname);
>               $dirinfa = join(' ', @stats);
>               warn("shlock: id = $info, dir = $dirinfa");
168c174
<     for ($tries = 0 ; $tries < 600 ; $tries++) {
---
>     for ($tries = 0 ; $tries < 20 ; $tries++) {
184c190
<           sleep(1);
---
>           sleep(5);

Enclosure: sample error messages

trying lock "/u1/NOT/m/majordom/lists/emed-l.config.LOCK" for pid 108745
temporary filename "/u1/NOT/m/majordom/lists/shlock.108745"
shlock: id = uid=5681(hwest) gid=5681(hwest)
, dir = 1114113 65711 83453 3 4647 4647 66261 1024 783050625 782973733 782973733 4096 8 at /u1/NOT/m/majordom/bin/shlock.pl line 136.
shlock: open(">/u1/NOT/m/majordom/lists/shlock.108745"):  at /u1/NOT/m/majordom/bin/shlock.pl line 137.

trying lock "/u1/NOT/m/majordom/lists/emed-l.config.LOCK" for pid 94404
temporary filename "/u1/NOT/m/majordom/lists/shlock.94404"
shlock: id = uid=781(english) gid=781(english)
, dir = 1114113 65711 83453 3 1 1 66261 1024 783104933 783113063 783113063 4096 8 at /u1/NOT/m/majordom/bin/shlock.pl line 136, <> line 1.
shlock: open(">/u1/NOT/m/majordom/lists/shlock.94404"):  at /u1/NOT/m/majordom/bin/shlock.pl line 137, <> line 1.


Indexed By Date Previous: Summary from LISA BOF
From: jjoy@akamai.sps.mot.com (Jennifer Joy)
Next: Re: Summary from LISA BOF
From: David Barr <barr@pop.psu.edu>
Indexed By Thread Previous: Lists of lists (was Re: Summary from LISA BOF)
From: "John P. Rouillard" <rouilj@cs.umb.edu>
Next: Not reading TZ in majordomo.cf!
From: Thomas Leavitt <leavitt@webcom.com>

Google
 
Search Internet Search www.greatcircle.com