I did a bit of hacking on init.d/umountroot, adding lsof and ps -ef after the remount fails.
I could see that dhclient was still running, so I added before the remount: pkill -9 dhclient
After this change, dhclient was gone, but the remount still failed. In lsof output I can see:
I did a bit of hacking on init.d/umountroot, adding lsof and ps -ef after the remount fails.
I could see that dhclient was still running, so I added before the remount: pkill -9 dhclient
After this change, dhclient was gone, but the remount still failed. In lsof output I can see:
init 1 root 15w REG 8,24 1134 438383 /var/log/ upstart/ mountall. log
It seems like there is a problem in the upstart init where it is not closing files, besides the problem with dhclient.