Hello David, I will have a look at your patch and try it as soon as I have some time. I'm currently busy with another project. Thanks anyway,
Jan. > Date: Tue, 22 Apr 2008 17:36:49 +0100 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: RE: [Linux-HA] HA on Solaris 9 ? > > On Tue, 15 Apr 2008, David Lee wrote: > > > On Tue, 15 Apr 2008, Jan Chaloupecky wrote: > > > > [...] > > > Yes, I read your following email exange in the mailing list archive: > > > http://www.gossamer-threads.com/lists/linuxha/users/40766?search_string=%2Bheartbeat%20%2Bk%20%2BSolaris;#40766 > > > > > > > Yes, that looks like it. Thanks for digging it out. > > I've been able to find a little time to look at this. I've taken the > modifications done to heartbeat/heartbeat.c as part of bug 1576 and have > rewritten the relevant part of lib/stonith/expect.c to try to do the same > thing. > > Alas, I'm still unable to test this. But could you (and any other > readers!) try the attached patch? > > As I understand it, the intention of the heartbeat coding is that the > 'cmd' that is exec'd ought to be the direct child of the process. But on > Solaris (perhaps 'sh' rather than 'bash') it instead became the > grandchild. (The Solaris 'ptree' command should show the 'family tree'.) > My patch ought to make this the child. > > Linux: should be exactly as before. > Solaris: should be different, as direct child. > > Repeat warning: completely untested! > > > > > -- > > : David Lee I.T. Service : > : Senior Systems Programmer Computer Centre : > : UNIX Team Leader Durham University : > : South Road : > : http://www.dur.ac.uk/t.d.lee/ Durham DH1 3LE : > : Phone: +44 191 334 2752 U.K. : _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
