FW: (panic action)

Esh, Andrew AEsh at tricord.com
Tue Apr 2 08:19:10 GMT 2002


Here's what Andrew Bartlett was kind enough to share with me:

-----Original Message-----
From: Andrew Bartlett [mailto:abartlet at pcug.org.au]
Sent: Friday, March 15, 2002 4:37 PM
To: Esh, Andrew
Cc: 'Andrew Bartlett'
Subject: Re: Automatic backtrace [Was: Re: NetAPP/Samba 3.0/plugs]


> "Esh, Andrew" wrote:
> 
> What is the text of your xterm panic action, BTW?


panic action = /usr/bin/X11/xterm -e gdb /proc/%d/exe %d || /bin/sleep
9000

This means that it will either start an xterm or if that fails it will
sleep for 9000 seconds.  This allows me a chance to attach a debugger if
its running from inetd / as a deamon and I don't have xhost +localhost
set.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-technical mailing list