It's a bug in /usr/lib/dhcpcd/dhcpcd-hooks/30-hostname when executed with "set -e" that nobody has noticed/reported in 1.5 years.
If I understand correctly, need_hostname returns 0 in case the hostname is already set to the correct name. It return 1 if the hostname needs to be set. "need_hostname || return" returns set_hostname before setting the hostname in case need_hostname returns 1. I am confused. -- 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