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

Bug#486182: marked as done (Installed system does not have functioning networking)



Your message dated Sat, 21 Jun 2008 21:02:14 +0000
with message-id <E1KAADu-0006Mc-Hm@ries.debian.org>
and subject line Bug#486182: fixed in live-installer 6
has caused the Debian Bug report #486182,
regarding Installed system does not have functioning networking
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.)


-- 
486182: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486182
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-installer
Severity: normal
Version: 5
Tags: patch

After installation via live-installer, one is left with a system without
networking dispite netcfg configuring it correctly. The attached patch
copies d-i networking settings (if they exist) to the target instead of
simply deleting them.


Regards,

-- 
Chris Lamb, UK                                       chris@chris-lamb.co.uk
                                                            GPG: 0x634F9A20
From 1ab50c8fc84f05c6b12ee6c8ba470cb25d682025 Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Sat, 14 Jun 2008 06:40:13 +0100
Subject: [PATCH] Override live-image network data info from d-i instead of removing it

After installation via live-installer, one is left with a system without
networking dispite netcfg configuring it correctly. This patch copies
d-i networking settings (if they exist) to the target.

This operation is already performed a base-installer.d pre-installation
hook, but the changes are overridden during the extraction of the live
filesystem image. An alternative to this patch would be to run the pre-
installation hooks post-extraction, but that seems to be asking for
trouble.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
---
 packages/live-installer/live-installer.d/network |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/packages/live-installer/live-installer.d/network b/packages/live-installer/live-installer.d/network
index 27863b6..93e461a 100755
--- a/packages/live-installer/live-installer.d/network
+++ b/packages/live-installer/live-installer.d/network
@@ -1,4 +1,10 @@
 #!/bin/sh -e
 
-# Remove live-cd network data
-rm -f /target/etc/hostname /target/etc/hosts /target/etc/network/interfaces
+# Override live-cd network data info from d-i
+for file in /etc/network/interfaces /etc/networks /etc/hostname /etc/resolv.conf /etc/hosts; do
+	rm -f /target/$file
+	if [ -f "$file" ]; then
+		mkdir /target/$(dirname $file) -p
+		cp $file /target/$file
+	fi
+done
-- 
1.5.5.4

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: live-installer
Source-Version: 6

We believe that the bug you reported is fixed in the latest version of
live-installer, which is due to be installed in the Debian FTP archive:

live-installer_6.dsc
  to pool/main/l/live-installer/live-installer_6.dsc
live-installer_6.tar.gz
  to pool/main/l/live-installer/live-installer_6.tar.gz
live-installer_6_i386.udeb
  to pool/main/l/live-installer/live-installer_6_i386.udeb



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 486182@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <chris@chris-lamb.co.uk> (supplier of updated live-installer 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 21 Jun 2008 21:20:48 +0100
Source: live-installer
Binary: live-installer
Architecture: source i386
Version: 6
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Chris Lamb <chris@chris-lamb.co.uk>
Description: 
 live-installer - Install the system (udeb)
Closes: 486182 486184 486926
Changes: 
 live-installer (6) unstable; urgency=low
 .
   [ Joey Hess ]
   * Bail-out much earlier if a filesystem image cannot be found (Chris Lamb)
     Closes: #486184
   * Run base-install.d hooks after copying in the live system, to avoid
     overwriting any files created by them. Closes: #486182
   * Copy files using tar, avoids permissions problems and slowness.
     Closes: #486926
 .
   [ Chris Lamb ]
   * Add myself to Uploaders
   * Rename Autotools bootstrapping script from "bootstrap" to "autogen.sh"
 .
   [ Updated translations ]
   * Belarusian (be.po) by Pavel Piatruk
   * Slovenian (sl.po) by Matej Kovacic
   * Turkish (tr.po) by Mert Dirik
Checksums-Sha1: 
 f40edd3d72eb0d172a0133ac613955126080dcb1 929 live-installer_6.dsc
 f1c62dfa6583e57225bc79cf02fb8133e8db2573 100689 live-installer_6.tar.gz
 be1561cec2dc6fce4ead997987027c6f9add008d 19242 live-installer_6_i386.udeb
Checksums-Sha256: 
 fbbfd10ae1544eb7b37cad631d31107e0bb729f9e156acdefc5a394236cdbf94 929 live-installer_6.dsc
 21b6e80da95caefdc5522e09223c11bdc0a1ec48df8d7e8d80a7db1589af303f 100689 live-installer_6.tar.gz
 13e663b0a451579d35fd2e2320ba2f91168841ed01596c5ec11eacdfeddac7cd 19242 live-installer_6_i386.udeb
Files: 
 f51b5bb250eed69b245540e0c1ec0551 929 debian-installer optional live-installer_6.dsc
 dc02ce67644fedec8d2b3d2858042e96 100689 debian-installer optional live-installer_6.tar.gz
 0f52f5668f12e9f28f96eca6190eca94 19242 debian-installer optional live-installer_6_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhdZM8ACgkQ+C5cwEsrK57q9wCfTiK6dKyPYZTnprdEgCDr+MD2
zuIAoIYt+32qvPQ66irK2epBim6chAAi
=pypT
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: