[Merge] ~mitchdz/ubuntu/+source/multipath-tools:mitch/fix_update_fail into ubuntu/+source/multipath-tools:ubuntu/focal-devel

Mitchell Dzurick mp+447587 at code.launchpad.net
Tue Aug 1 00:39:31 UTC 2023


There's a script for testbed here that I haven't used yet. I'll look into it tomorrow to do some more testing - https://github.com/canonical/server-test-scripts/tree/main/ha/virsh

Diff comments:

> diff --git a/debian/multipath-tools.postinst b/debian/multipath-tools.postinst
> index fef2966..6d34a50 100644
> --- a/debian/multipath-tools.postinst
> +++ b/debian/multipath-tools.postinst
> @@ -17,6 +17,14 @@ set -e
>  # for details, see http://www.debian.org/doc/debian-policy/ or
>  # the debian-policy package
>  
> +# Previous versions installed init scripts, remove because we do not need
> +file_to_delete="/etc/init.d/multipath-tools"
> +
> +if [ -e "$file_to_delete" ]; then
> +    echo "Removing $file_to_delete"
> +    rm "$file_to_delete"
> +fi

There is no reason, I just was not familiar with that mechanism. Thanks for pointing it out! I'll include that in the MP soon after I make the change/test it.

Also, Mantic does not have this, just the removal of dh_installinit, but after the merge is complete I'll look at adding the logic in for people who upgrade to Mantic and may have the old conffile still.

> +
>  RULE=/etc/udev/rules.d/multipath.rules
>  
>  case "$1" in


-- 
https://code.launchpad.net/~mitchdz/ubuntu/+source/multipath-tools/+git/multipath-tools/+merge/447587
Your team Ubuntu Sponsors is requested to review the proposed merge of ~mitchdz/ubuntu/+source/multipath-tools:mitch/fix_update_fail into ubuntu/+source/multipath-tools:ubuntu/focal-devel.




More information about the Ubuntu-sponsors mailing list