On Friday 29 March 2013 01:46 PM, Guy Roussin wrote: > multipath-tools_0.4.9+git0.4dfdaf2b-7_amd64.deb) ... > [....] Root is on a multipathed device, multipathd can not be > stopped:invoke-rc.d: initscript multipath-tools, action "stop" failed. > dpkg: warning: subprocess old pre-removal script returned error exit > status 1
I thought a little more about this. And looks like I have done a big mistake in my assumptions here. In the current config, never will a rooted multipath setup be able to upgrade multipath-tools package, effective living a broken system. What we need to do when called in the stop) target is to: * Detect that the root device is on a multipathed device * If yes, log the information stating that you will not kill the daemon. * exit 0 and stay clean so that no external processes behave havoc. -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature