Although the addition, removal or updating of an interface resolv.conf
authorRoy Marples <roy@marples.name>
Thu, 9 Jan 2014 13:03:08 +0000 (13:03 +0000)
committerRoy Marples <roy@marples.name>
Thu, 9 Jan 2014 13:03:08 +0000 (13:03 +0000)
commit55b7d13f0ddb5a5b39368118ccc9c91834a1fc80
tree4ea5a5371d627d06e602c3678d384231c7d4ba4a
parenta08efbdc0e955be2dde99f8b97f4bbabe8f61ee3
Although the addition, removal or updating of an interface resolv.conf
is an atmoic operation (because we use mv(1)) our subscribers are not
guaranteed to be either atomic, nor serialised when restarting them.
As such, introduce locking via mkdir(1) to enforce serialisation.
resolvconf.in