Your message dated Tue, 21 May 2024 12:49:36 +0000 with message-id <E1s9Ovw-008uDk-CW@fasolo.debian.org> and subject line Bug#1064005: fixed in netcfg 1.189 has caused the Debian Bug report #1064005, regarding netcfg: "get_netmask string 255.255.255.255" not working to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1064005: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064005 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: netcfg: "get_netmask string 255.255.255.255" not working
- From: Arzhel Younsi <ayounsi@wikimedia.org>
- Date: Thu, 15 Feb 2024 14:07:10 +0000
- Message-id: <170800603096.81057.15655827600204431631.reportbug@sretest2005.codfw.wmnet>
Source: netcfg Version: 1.187 Severity: normal Dear Maintainer, Setting a netmask of 255.255.255.255 (in my case using preseed, but I guess the same happens if using the UI) fails the installer with Unreachable gateway (even if the gateway is set). I agree it can be seen as an odd setup, but it's valid and works when configured manually in busybox and Linux. My usecase is creating routed Debian VMs, where the host have a static route to the guest's IP (or v6 /128). With a smaller subnet (like /23), we would have to use proxy ARP which is usually not recommended. You can see more information in: https://phabricator.wikimedia.org/phame/post/view/312/ganeti_on_modern_network_design/ My current workaround is to use a smaller netmask then run the following in early_command: IFACE=$(ip -4 route list 0/0 | sed -r 's/.*dev ([^ ]*) .*/\1/' | head -1) IP="$(ip address show dev $IFACE | egrep '^[[:space:]]+inet ' | cut -d ' ' -f 6 | cut -d '/' -f 1)" ip addr del $IP dev $IFACE ip addr add $IP/32 dev $IFACE ip route add 10.192.24.1 dev $IFACE scope link ip route add default via 10.192.24.1 Right after "netcfg" It would of course be cleaner if netcfg were to handle a /32 "out of the box". Similarly, DHCP can allocate such IPs, see for example : https://blog.fhrnet.eu/2020/03/07/dhcp-server-on-a-32-subnet/ I haven't tested DHCP in Debian Installer with such setup though. Please let me know if I can be of any help. Thanks -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-18-amd64 (SMP w/1 CPU thread; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
- To: 1064005-close@bugs.debian.org
- Subject: Bug#1064005: fixed in netcfg 1.189
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Tue, 21 May 2024 12:49:36 +0000
- Message-id: <E1s9Ovw-008uDk-CW@fasolo.debian.org>
- Reply-to: Colin Watson <cjwatson@debian.org>
Source: netcfg Source-Version: 1.189 Done: Colin Watson <cjwatson@debian.org> We believe that the bug you reported is fixed in the latest version of netcfg, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1064005@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Colin Watson <cjwatson@debian.org> (supplier of updated netcfg package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 21 May 2024 13:30:01 +0100 Source: netcfg Architecture: source Version: 1.189 Distribution: unstable Urgency: medium Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Changed-By: Colin Watson <cjwatson@debian.org> Closes: 701139 1064005 Changes: netcfg (1.189) unstable; urgency=medium . [ Colin Watson ] * netcfg_activate_static_*: Add more logging. * Fix display of IPv6 netmasks in netcfg/confirm_static (closes: #701139). * Handle routing for single-address netmasks (closes: #1064005). . [ Updated translations ] * Welsh (cy.po) by Rhodri * Hungarian (hu.po) by SZERVÁC Attila * Macedonian (mk.po) by Kristijan Fremen Velkovski * Marathi (mr.po) by omwani * Dutch (nl.po) by Frans Spiesschaert * Occitan (oc.po) by Quentin PAGÈS * Punjabi (Gurmukhi) (pa.po) by Aman Alam Checksums-Sha1: 40d189888e131b0686208d1f0621f3d6f1e6fe50 1889 netcfg_1.189.dsc e482269bc946438bb1444c30d235dac5288dd92b 403604 netcfg_1.189.tar.xz Checksums-Sha256: 36709f729af2716c6b990681280e95148c9e38ddf4a6a1928f2fdc485bcecd7a 1889 netcfg_1.189.dsc 197e87aaaf2c68c1c5bbb6c58b11aba74770a08001067db3c60fac22d0da0f96 403604 netcfg_1.189.tar.xz Files: 659fd2f9cdfd3419a8822a6ecbd1a26b 1889 debian-installer optional netcfg_1.189.dsc b8c64fa8fddba6111727b3debb6dd43f 403604 debian-installer optional netcfg_1.189.tar.xz -----BEGIN PGP SIGNATURE----- iQIyBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmZMlBkACgkQOTWH2X2G UAsvRw/4mJEFuBhTok5Oozk0gik28zFqD/YEmOE/gTRR4P7wPx3nCqdjvCcPq3Ou dw9jhhZUApvG9m1Bjr0LLaDzWVb6blOv3NFYwEPZbgI//vvc9GC7Fa3STFWsfcOa 5Qvd3J1JpEunmEdpqoFDO3v1OXBw+i+egLcZquSvtc6HmRhLWioRaemb+cQzfYWc JTHYOTuyF7f3nzUt+E03+RoRuq7fXC1PtRqRtjzSnZdlDRbvzVl5QMBwX0cnKFSF 46wmdlrFFkzAUsPfnYvif9y/0QSFMqoBGJnFCXw0/lQxeIcd4TaYaCiY5Y18d1J4 wVzlv6vFBkTkZb40Pygz4uV0xzkr30XTDF3jvJnqgfdC58uc04KghqYXwXQlRcBL qzXOb+77b5pILArJAuja02mb+MhLra6qMWOScfjC1E9cJuyEBAav1vJF+BeE0jas NKxRsfGOac/HOaBYRYbK8B613L0qKJyiemeLBrVpJ3xN5rUYJrL9n7c+fSyX+8Bv UBd7aYhdGBN/Hwfy1LDvWTftjzGtlADNNw/9ptSHgd4W46bQy87nhwejr2tXXAsV gATCVCGhEDr9tWq06ltU5QYETRYMMNWd4XwhsdmMJpuC3BAOKh4zgh3gmzrCGzba koQxrwndXU/yRUwx+txrQuz74ztyN/ymL7N0B8yWVi9aAXkFHA== =Ylc5 -----END PGP SIGNATURE-----Attachment: pgpFjsKVlYWgl.pgp
Description: PGP signature
--- End Message ---