SCIENTIFIC-LINUX-DEVEL Archives

October 2006

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Thu, 5 Oct 2006 09:47:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Stephan Wiesand wrote:
> Hi Troy,
> 
> On Wed, 4 Oct 2006, Troy Dawson wrote:
> 
>> Hi Mark,
>> That made me think along the lines of why are we removing the file 
>> when we startup, and not when we shutdown.
>> So here's what I did, and this seems to be working.  (Luckily 
>> thunderbird is failing quite consistently for me today.)
>>
>> Instead of having the script run when we startup (by naming it 
>> S01parentlock), we make it run when we shutdown (by naming it 
>> K99parentlock).
>>
>> That has worked for me, and to be honest, makes more sense.
> 
> Alas, it's guaranteed to fail if the AFS token has expired, or is no 
> longer available (during logout), or the system crashes, or the 
> thunderbird script is killed, or...
> 
> I still think it has to run during startup.
> 
> When that failed for you, maybe there simply was a lock link present for 
> some reason?
> 
> Stephan
> 

Well, it's actually still ok.  I watched the debug output's, and it 
actually runs the kill script on startup.  From what I could tell it goes

Start Script
Kill Script
Start Sctip
   Actually run Thunderbird, then on exit
Kill Script

So, even if we put it on the kill script side, for some reason, it still 
get's run.

Troy

-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2