Scratch my last comment. My test should have called `busybox sh test`
instead of `busybox test`.

The failing code is a bit later. need_hostname hits the last else part
and calls false (after the "No old hostname" comment). The caller code
in set_hostname:

```
        need_hostname || return
```

Distilled down `test` shell code:

```
#!/bin/sh
set -e

set_hostname()
{
    false || return
    echo "remaining"
}

set_hostname
```

```
$ busybox sh test; echo $?
1
$ sh test; echo $?
1
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2064926

Title:
  dhcpcd stuck for 5 Minutes (300 Seconds) during Boot Process
  (LUKS/Clevis Autounlock)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dhcpcd/+bug/2064926/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to