You found an incompatibility of /sbin/dhclient-script with busybox. Relevant code snippet:
``` if [ -f $resolv_conf ]; then chown --reference=$resolv_conf $new_resolv_conf chmod --reference=$resolv_conf $new_resolv_conf fi ```
The chown command from busybox does not have a --reference parameter.
Simplified test case:
``` touch resolve.conf busybox chown --reference=/etc/resolv.conf resolve.conf ```
This also fails for Ubuntu 23.10 (mantic).
Can you document the steps to reproduce it? The amd-net autopkgtest test cases for initramfs-tools do not trigger the bug (probably because they to not trigger the if-condition).
You found an incompatibility of /sbin/dhclient- script with busybox. Relevant code snippet:
``` $resolv_ conf $new_resolv_conf $resolv_ conf $new_resolv_conf
if [ -f $resolv_conf ]; then
chown --reference=
chmod --reference=
fi
```
The chown command from busybox does not have a --reference parameter.
Simplified test case:
``` /etc/resolv. conf resolve.conf
touch resolve.conf
busybox chown --reference=
```
This also fails for Ubuntu 23.10 (mantic).
Can you document the steps to reproduce it? The amd-net autopkgtest test cases for initramfs-tools do not trigger the bug (probably because they to not trigger the if-condition).