Statistics
| Branch: | Tag: | Revision:

root / doc / examples / hooks / ethers @ ab6536ba

History | View | Annotate | Download (3.3 kB)

# Date Author Comment
691dfed9 10/07/2009 01:16 pm Guido Trotter

ethers hook: allow more than one daemon pidfile

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

87a5035c 08/10/2009 07:41 pm Luca Bigliardi

Ethers hook, compatibility with old lockfile

Remove "-l" option since some ancient systems ship a version of lockfile-progs
not supporting it.

Signed-off-by: Luca Bigliardi <>

e24999ab 08/06/2009 11:12 am Guido Trotter

example ethers hook: use lockfile-progs

Rather than writing our own locking routing, use the one implemented by
the lockfile-create program.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

d98b37a1 08/05/2009 09:05 pm Luca Bigliardi

ethers hook lock: use logger not echo

Overwrite debugging 'echo's

Signed-off-by: Luca Bigliardi <>
Signed-off-by: Guido Trotter <>
Reviewed-by: Guido Trotter <>

1db0b7cf 08/05/2009 08:52 pm Luca Bigliardi

ethers hook: reduce the probability of data loss

The hook was exiting immediately if lock was not acquired, entering a timed
loop to have more chances when acquiring the lock.

Signed-off-by: Luca Bigliardi <>
Signed-off-by: Guido Trotter <>...

93db3d8f 07/22/2009 04:13 pm Guido Trotter

Add an example "ethers" hook

This hook can be used to update /etc/ethers with instance's mac
addresses. A dhcp server on the nodes can then serve to the instances
their correct address. (This has been tested with dnsmasq's dhcp
implementation)

Signed-off-by: Guido Trotter <>