commit | 97be79f9d38b07214d5ad9b437e1a852c594a985 | [log] [tgz] |
---|---|---|
author | Denis Ovsienko <pilot@etcnet.org> | Fri Jul 24 20:45:31 2009 +0400 |
committer | Denis Ovsienko <pilot@etcnet.org> | Fri Jul 24 20:45:31 2009 +0400 |
tree | dbc8513b7f58c4f603ea1eed87efe9dbf4d7897e | |
parent | 5b40b1b57e1fad1caf579e032adf4e111128e486 [diff] |
[zebra] do not touch socket before pidfile locking Move zserv socket creation code into zebra_zserv_socket_init() and call it only after pidfile lock has been acquired exclusively. This keeps subsequent zebra daemons from deleting the working socket of an already running process (bug #403).