I verified your patch in Lucid-amd64 (by manually inserting your lines of code) and can confirm: *it works*!
(apart from the portmap and rpc.statd issue, whuich still persists of course).
I used Clints proposal inserting these 2 lines after the mount commands:
/usr/bin/lsof -n | grep DEL
sleep 15
(remark: lsof must be given with full path to be found).
Now, when portmap is stopped manually before, there is absolutely no more "mount: / is busy" as without your patch and shutdown is clean! I did many tests with and without your patch - appears to be absolutely reliable.
Congratulations!
Hope this patch will be inclusded into 10.0.4.2.
What now is missing: checking all the daemons which might have a buggy start/stop script.
@ James,
I verified your patch in Lucid-amd64 (by manually inserting your lines of code) and can confirm: *it works*!
(apart from the portmap and rpc.statd issue, whuich still persists of course).
I used Clints proposal inserting these 2 lines after the mount commands:
/usr/bin/lsof -n | grep DEL
sleep 15
(remark: lsof must be given with full path to be found).
Now, when portmap is stopped manually before, there is absolutely no more "mount: / is busy" as without your patch and shutdown is clean! I did many tests with and without your patch - appears to be absolutely reliable.
Congratulations!
Hope this patch will be inclusded into 10.0.4.2.
What now is missing: checking all the daemons which might have a buggy start/stop script.