On Wed, 2016-03-02 at 14:19 +0100, Carlos Alberto Lopez Perez wrote:
[...]
> A possible fix is the following patch:
>
> --- a/usr/share/initramfs-tools/scripts/init-premount/mandos 2016-03-02
> 10:41:43.437960673 +0100
> +++ b/usr/share/initramfs-tools/scripts/init-premount/mandos 2016-03-02
> 13:00:27.392153826 +0100
> @@ -94,7 +94,7 @@
> # If we are connecting directly, run "configure_networking" (from
> # /scripts/functions); it needs IPOPTS and DEVICE
> if [ "${connect+set}" = set ]; then
> - configure_networking
> + configure_networking || true
[...]Why not: set +e # required by library functions configure_networking set -e (As 'set -e' is clear best practice for shell scripts, I do have a goal of making initramfs-tools scripts and functions use it. But this will need to be done carefully to avoid breaking compatibility with external scripts that depend on the current behaviour.) Ben. -- Ben Hutchings Tomorrow will be cancelled due to lack of interest.
signature.asc
Description: This is a digitally signed message part

