diff -Nru partman-multipath-4/commit.d/partition_multipath partman-multipath-4mpathpart1/commit.d/partition_multipath --- partman-multipath-4/commit.d/partition_multipath 2011-01-19 03:03:36.000000000 -0200 +++ partman-multipath-4mpathpart1/commit.d/partition_multipath 2015-02-24 19:33:13.000000000 -0300 @@ -16,3 +16,9 @@ kpartx -a -p -part $(cat device) done +# Don't exit with a non-zero exit code from a failure in +# the last command of the last iteration in the for-loop. +# It is inconsistent, because a failure in any previous +# command or previous iteration does /not/ do so. +# (see Launchpad bugs #1425153 and #1424734 for context) +exit 0 diff -Nru partman-multipath-4/debian/changelog partman-multipath-4mpathpart1/debian/changelog --- partman-multipath-4/debian/changelog 2013-07-14 08:04:00.000000000 -0300 +++ partman-multipath-4mpathpart1/debian/changelog 2015-02-24 19:35:30.000000000 -0300 @@ -1,3 +1,11 @@ +partman-multipath (4mpathpart1) UNRELEASED; urgency=medium + + * commit.d/partition_multipath: use a consistent exit code; + that is, independent of errors in the last command of the + last iteration of the for-loop. + + -- Mauricio Faria de Oliveira Tue, 24 Feb 2015 19:34:13 -0300 + partman-multipath (4) unstable; urgency=low [ Dmitrijs Ledkovs ]