On Fri, 1 Jun 2007, Dejan Muhamedagic wrote: > On Fri, Jun 01, 2007 at 10:29:07AM +0100, David Lee wrote: > > [...] > > You might try the attached patch, which avoids the "sh" and goes directly > > to the desired 'centry->command'. (My Solaris confirmed your issue, and > > the patch seems to cure it.) > > > > > > Others: I would value, too, your tests in your environments, and/or > > general comments about the proposed patch. > > Your patch looks sane. I wonder why /bin/sh was used at all here. > Perhaps Alan can explain.
Thanks, Dejan. I have just applied it to the dev repository: (fe65fcbc750b). I'll update bug 1576 in a few days (if I remember). Dejan (or others): Could you take a peek at bug 1576? There's a comment: # Also note that "lib/stonith/expect.c" has very similar code, and # probably needs similar attention. I'm not in a position to be able to run-time any changes here for that code. But it would be helpful if someone who was able to test that code could adjust it in the same manner as 'fe65fcbc750b'. Thanks. -- : 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. : _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
