On Tue, Jul 13, 2010 at 12:12:12PM +0200, Raoul Bhatia [IPAX] wrote: > hi, > > On 07/12/2010 05:36 PM, Lars Ellenberg wrote: > > put some "( date ; env) >> /tmp/tmp.debug.log" into your script, > > then we can determine if the crm shell assumes too much. > > i did some digging around and found that cron seems to set > the correct environment. so i used "inotifywait -m /" > to watch for changes to /: > > # tail -f /var/log/syslog & > # inotifywait -m / | grep --color crm_ &
are you aware of the grep option --line-buffered ? > please find a c/p from three of such events attached. > > it now seems to me that the drbd monitor action creates these files. Highly unlikely. No DRBD provided script calls the crm shell. how about "bsd process accounting"? -> atop -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker