On Debian 6 (Squeeze) I've created a regular network interface alias "eth0:1". It usually "just works" - and it works great.
But today I got the following error when trying to "ifup" that alias interface:
The network alias interfaces are brought up properly though.if-up.d/mountnfs[eth0:1]: lock /var/run/network/mountnfs exist, not mounting ... failed!
But the error message is weird, because I don't have any NFS shares configured - nor mounted.
But it indicates that somethings is not quite clean, I guess
[SOLUTION]
Seems that the folder "/var/run/network/mountnfs" can be left over if the machine did not boot (or shutdown?) properly before. It is created whenever the script "/etc/network/if-up.d/mountnfs" is executed.
Therefore, I've deleted the empty folder and tried again.
Should be fine now