[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1039019: marked as done (bookworm-pu: package fai/6.0.3+deb12u1)



Your message dated Sat, 22 Jul 2023 13:19:41 +0000
with message-id <E1qNCWL-005rpi-Pz@coccia.debian.org>
and subject line Released with 12.1
has caused the Debian Bug report #1039019,
regarding bookworm-pu: package fai/6.0.3+deb12u1
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.)


-- 
1039019: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039019
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: fai@packages.debian.org
Control: affects -1 + src:fai


This upload fixes #1037329


[ Reason ]
A change from FAI 5.10.3 (in bullseye) to 6.0 (currently 6.0.3 in bookworm)
removed some code which sets the lifetime for IP addresses to forever. This change must be reversed.

[ Impact ]
A network installation hangs completly after the lease time of the IP address expires.
FAI does not run a dhclient, because it uses a nfsroot.

[ Tests ]
Since we used this code years before, and I only reverted the commit which removes the code, no tests are needed.

[ Risks ]
No risks,.

[ Checklist ]
  [X ] *all* changes are documented in the d/changelog
  [X ] I reviewed all changes and I approve them
  [X ] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
For each network interface, set IP address filetime to forever.


 bin/fai          |    6 ++++++
 debian/changelog |    6 ++++++
 2 files changed, 12 insertions(+)

diff -Nru fai-6.0.3/bin/fai fai-6.0.3+deb12u1/bin/fai
--- fai-6.0.3/bin/fai	2023-01-12 10:22:03.000000000 +0100
+++ fai-6.0.3+deb12u1/bin/fai	2023-06-24 12:57:09.000000000 +0200
@@ -126,6 +126,12 @@
 
         cat /proc/kmsg >/dev/tty4 &
 
+        # fix IP address lifetime
+	ip -4 -br a | awk '/UP / {if ($3) print $3 " " $1}' | \
+        while read addr iface; do
+            ip -4 addr change "$addr" dev "$iface" valid_lft forever preferred_lft forever
+        done
+
         # enable EFI variables
         if [ -d /sys/firmware/efi ]; then
            mount -t efivarfs none /sys/firmware/efi/efivars
diff -Nru fai-6.0.3/debian/changelog fai-6.0.3+deb12u1/debian/changelog
--- fai-6.0.3/debian/changelog	2023-05-24 11:57:11.000000000 +0200
+++ fai-6.0.3+deb12u1/debian/changelog	2023-06-24 13:02:26.000000000 +0200
@@ -1,3 +1,9 @@
+fai (6.0.3+deb12u1) bookworm; urgency=low
+
+  * fai: set IP address lifetime to forever, Closes: #1037329
+
+ -- Thomas Lange <lange@debian.org>  Sat, 24 Jun 2023 13:02:26 +0200
+
 fai (6.0.3) unstable; urgency=high
 
   *  get-boot-info: write $SERVER only if string is non-epmty

--- End Message ---
--- Begin Message ---
Version: 12.1

The upload requested in this bug has been released as part of 12.1.

--- End Message ---

Reply to: