[sheepdog] [PATCH] sheep: bind TCP ports as soon as possible

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Apr 1 02:43:08 CEST 2013


At Mon,  1 Apr 2013 01:23:58 +0900,
Hitoshi Mitake wrote:
> 
> Current binding of TCP ports is done after some parts of
> initialization e.g. log_init(). Because of this behaviour, confusing
> logs can be created. These logs would contain interleaving messages
> from different sheep processes (e.g. sudden "failed to bind server
> socket: Address already in use").

I think lock_base_dir() should guard it.  Do you know why it doesn't
work?

Thanks,

Kazutaka



More information about the sheepdog mailing list