[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#704073: [multipath-tools-boot] error when update-initramfs



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."


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: