[Moving this to the -dev list]

Dejan,

Please revisit the original thread too; Lars Ellenberg had an
alternative suggestion for fixing this issue.

Is there a Bugzilla entry for this?

Cheers,
Florian

On 2009-12-02 05:34, Junko IKEDA wrote:
> Hi Dejan,
> 
> This is an old issue,
> http://www.gossamer-threads.com/lists/linuxha/users/56449
> but I remember this from the release plan announcement of Heartbeat 3.0.2.
> 
> I have done the test for the following your patch,
> it seemed there was no problem.
> Please apply this to the new release.
> 
> On Thu, 02 Jul 2009 22:04:06 +0900, Dejan Muhamedagic  
> <[email protected]> wrote:
> 
>> Right. See lib/lrm/racommon.c:closefiles(). I must say I can't
>> remember why exactly was the connection to syslogd/ha_logd
>> needed. There has been a problem with stonithd, but now this code
>> is not in that execution path anymore. Perhaps you can test this
>> patch:
>>
>> diff -r 731f8f7b5450 lib/lrm/racommon.c
>> --- a/lib/lrm/racommon.c        Tue Jun 30 12:02:16 2009 +0200
>> +++ b/lib/lrm/racommon.c        Thu Jul 02 15:02:55 2009 +0200
>> @@ -145,7 +145,7 @@
>>        /* close all descriptors except stdin/out/err and
>>  * channels to logd */
>>         for (fd = getdtablesize(); fd > STDERR_FILENO; fd--) {
>> -               if (!cl_log_is_logd_fd(fd))
>> +               /*if (!cl_log_is_logd_fd(fd))*/
>>                         close(fd);
>>         }
>>  }
> 
> Thanks,
> Junko

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to