[Ocfs2-tools-devel] Review of the o2hbmonitor sem patch

Sunil Mushran sunil.mushran at oracle.com
Thu Dec 9 11:24:09 PST 2010


On 12/09/2010 11:16 AM, Joel Becker wrote:
> On Wed, Dec 08, 2010 at 06:58:29PM -0800, Sunil Mushran wrote:
>> Also, if we cannot determine its status, launch o2hbmonitor after printing
>> a message to stderr. Not syslog. All of this should be upfront. Not after
>> we open syslog.
> 	You definitely want to syslog.  Maybe stderr too, but what if it
> scrolls off the boot screen?  This is a daemon, and it should also
> record details in syslog.

Well this specific error will only be printed if another instance of
o2hbmonitor is running. Why can't we print and exit before we even
daemonize?



More information about the Ocfs2-tools-devel mailing list