udevd appears to be locking the file too. After a few retries repeatedly failing it has stopped failing. ``` root@host03:~# strace -p 9201 Process 9201 attached - interrupt to quit flock(3, LOCK_EX^C <unfinished ...> Process 9201 detached root@host03:~# readlink /proc/9201/fd/3 /var/cache/pbuilder/jenkins_tools.trusty.amd64-0.4.1.updatelock root@host03:~# lsof /var/cache/pbuilder/jenkins_tools.trusty.amd64-0.4.1.updatelock COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME flock 9201 root 3u REG 253,3 0 1408567 /var/cache/pbuilder/jenkins_tools.trusty.amd64-0.4.1.updatelock udevd 25361 root 3r REG 253,3 0 1408567 /var/cache/pbuilder/jenkins_tools.trusty.amd64-0.4.1.updatelock ```
udevd appears to be locking the file too. After a few retries repeatedly failing it has stopped failing.