[-- Attachment #1: Type: text/plain, Size: 752 bytes --] New issue by teldra on void-packages repository https://github.com/void-linux/void-packages/issues/13304 Description: ### System * xuname: Void 4.19.59_1 x86_64 GenuineIntel notuptodate hold rrrmDFFFFFFFFFFFFFFFFF (some packages on hold) * package: dracut-048_5 dracut-crypt-ssh-1.0.7_3 dracut-network-048_5 ### Expected behavior Get an IP Address via DHCP at boot to unlock luks. ### Actual behavior Suddenly dracut complains "Duplicated address detected" even if there is no duplicated address and try to get a new one forever. Boot impossible, without deleting rd.neednet=1 ip=dhcp (https://wiki.voidlinux.org/Install_LVM_LUKS#Setup) ### Steps to reproduce the behavior https://wiki.voidlinux.org/Install_LVM_LUKS#Setup
[-- Attachment #1: Type: text/plain, Size: 2878 bytes --] New comment by tetsumaki on void-packages repository https://github.com/void-linux/void-packages/issues/13304#issuecomment-516638730 Comment: Hello, same problem here. The problem come with the package iputils-20190709_1 (major update). Screenshot with ping command before (left) and after update (right) : https://framapic.org/7r52Rfkn2Yiw/AODbp6xEo81n.png I dont now why, but i reproduce after multiple try in vm, i reproduce after that : # xbps-install -Su iputils [*] Updating `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ... Name Action Version New version Download size base-voidstrap update 0.9_2 0.9_3 868B iputils update 20180629_2 20190709_1 64KB Size to download: 66KB Size required on disk: 123KB Space available on disk: 18GB Do you want to continue? [Y/n] y [*] Downloading packages base-voidstrap-0.9_3.x86_64.xbps: 868B [avg rate: 14MB/s] base-voidstrap-0.9_3.x86_64.xbps.sig: 512B [avg rate: 4310KB/s] iputils-20190709_1.x86_64.xbps: 64KB [avg rate: 937MB/s] iputils-20190709_1.x86_64.xbps.sig: 512B [avg rate: 8929KB/s] [*] Verifying package integrity base-voidstrap-0.9_3: verifying RSA signature... iputils-20190709_1: verifying RSA signature... [*] Collecting package files base-voidstrap-0.9_3: collecting files... iputils-20190709_1: collecting files... iputils-20180629_2: collecting files... [*] Unpacking packages base-voidstrap-0.9_2: updating to 0.9_3 ... base-voidstrap-0.9_3: unpacking ... iputils-20180629_2: updating to 20190709_1 ... Removing 'ping' alternatives group symlink: ping Removing 'ping' alternatives group symlink: ping.8 Removing 'ping6' alternatives group symlink: ping6 Removing 'ping6' alternatives group symlink: ping6.8 iputils-20190709_1: unpacking ... Creating 'ping' alternatives group symlink: ping -> /usr/bin/iputils-ping Creating 'ping' alternatives group symlink: ping.8 -> /usr/share/man/man8/iputils-ping.8 Creating 'ping6' alternatives group symlink: ping6 -> /usr/bin/iputils-ping Creating 'ping6' alternatives group symlink: ping6.8 -> /usr/share/man/man8/iputils-ping.8 [*] Configuring unpacked packages base-voidstrap-0.9_3: configuring ... base-voidstrap-0.9_3: updated successfully. iputils-20190709_1: configuring ... iputils-20190709_1: post-install message: ======================================================================== Since iputils-20161105, ping and ping6 as well as tracepath and tracepath6 have been unified. Use ping -4 or tracepath -4 to force ICMPv4. ======================================================================== iputils-20190709_1: updated successfully. 2 downloaded, 0 installed, 2 updated, 0 configured, 0 removed.
[-- Attachment #1: Type: text/plain, Size: 2412 bytes --] New comment by tetsumaki on void-packages repository https://github.com/void-linux/void-packages/issues/13304#issuecomment-516643555 Comment: Install old version of iputils solve the problem immediatly : # xbps-install -Sf iputils-20180629_3 [*] Updating `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ... Unable to locate 'iputils-20180629_3' in repository pool. -bash-5.0# xbps-rindex -a /tmp/*.x* index: added `iputils-20180629_3' (x86_64). index: 1 packages registered. -bash-5.0# xbps-install -Sf iputils-20180629_3 [*] Updating `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ... Name Action Version New version Download size iputils downgrade 20190709_1 20180629_3 - Size required on disk: 181KB Space available on disk: 18GB Do you want to continue? [Y/n] y [*] Downloading packages [*] Verifying package integrity iputils-20180629_3: verifying SHA256 hash... [*] Collecting package files iputils-20180629_3: collecting files... iputils-20190709_1: collecting files... [*] Unpacking packages iputils-20180629_3: unpacking ... Creating 'ping' alternatives group symlink: ping -> /usr/bin/iputils-ping Creating 'ping' alternatives group symlink: ping.8 -> /usr/share/man/man8/iputils-ping.8 Creating 'ping6' alternatives group symlink: ping6 -> /usr/bin/iputils-ping Creating 'ping6' alternatives group symlink: ping6.8 -> /usr/share/man/man8/iputils-ping.8 [*] Configuring unpacked packages iputils-20180629_3: configuring ... iputils-20180629_3: post-install message: ======================================================================== Since iputils-20161105, ping and ping6 as well as tracepath and tracepath6 have been unified. Use ping -4 or tracepath -4 to force ICMPv4. ======================================================================== iputils-20180629_3: installed successfully. 0 downloaded, 1 installed, 0 updated, 1 configured, 0 removed. And rebuild kernel : # xbps-reconfigure -f linux4.19 linux4.19: configuring ... Executing post-install kernel hook: 20-dracut ... Executing post-install kernel hook: 50-grub ... Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.19.25_1 Found initrd image: /boot/initramfs-4.19.25_1.img Reboot, and problem is solved.
[-- Attachment #1: Type: text/plain, Size: 286 bytes --] New comment by tetsumaki on void-packages repository https://github.com/void-linux/void-packages/issues/13304#issuecomment-516644255 Comment: I think, the problem is in /usr/lib/dracut/modules.d, probably 40network and usage of ip command. With the new version of iputils -> problem.
[-- Attachment #1: Type: text/plain, Size: 264 bytes --] New comment by tetsumaki on void-packages repository https://github.com/void-linux/void-packages/issues/13304#issuecomment-516645660 Comment: I think the best solution for now is downgrade package in official repository no ? dracut is not ready for new iputils.
[-- Attachment #1: Type: text/plain, Size: 516 bytes --] New comment by teldra on void-packages repository https://github.com/void-linux/void-packages/issues/13304#issuecomment-516661179 Comment: For me, it seems to stop around here: https://github.com/dracutdevs/dracut/blob/23acf15227557ea1701bf853b3aa402a9ecba0a3/modules.d/35network-legacy/dhclient-script.sh#L184 or here: https://github.com/dracutdevs/dracut/blob/23acf15227557ea1701bf853b3aa402a9ecba0a3/modules.d/35network-legacy/ifup.sh#L136 (in each if statements). Maybe this issue schould be reported upstream?