Re: [Netcfg--Add-WPA-support 3/3] Add WPA support

2009-03-30 Thread Glenn Saberton
Reinhard Tartler wrote:
 Glenn Saberton gsaber...@foomagic.org writes:
 
 +static int start_wpa_daemon(struct debconfclient *client)
 +{
 +wpa_supplicant_pid = fork();
 +
 +if (wpa_supplicant_pid == 0) {
 +fclose(client-out);
 +if (execlp(wpa_supplicant, wpa_supplicant, -i, interface, 
 -C,
 +   WPASUPP_CTRL, -P, WPAPID, -B, NULL) == -1) {
 +di_error(could not exec wpasupplicant: %s, strerror(errno));
 +return 1;
 +}
 +else 
 +return 0;
 +}
 +else {
 +waitpid(wpa_supplicant_pid, NULL, 0);
 +return 0;
 +}
 +}
 
 this looks fishy. Are you sure you want to return if the child has
 failed to exec?
 
Can you explain what you mean by looks fishy? Suggestions and
improvements are more than welcome, and I still have a few things I want
to do yet myself. I'm a bit of a C novice, so I am more than likely to
have done a few things the less than perfect way, but I'm not sure what
you mean by the above comment. As is, if the exec fails, then we return
back, which could really do with an error template as well. I think I
still need to do a bit more work on the error handling side of things.

Glenn


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [Netcfg--Add-WPA-support 3/3] Add WPA support

2009-03-30 Thread Reinhard Tartler
Glenn Saberton gsaber...@foomagic.org writes:

 Reinhard Tartler wrote:
 Glenn Saberton gsaber...@foomagic.org writes:
 
 +static int start_wpa_daemon(struct debconfclient *client)
 +{
 +wpa_supplicant_pid = fork();
 +
 +if (wpa_supplicant_pid == 0) {
 +fclose(client-out);
 +if (execlp(wpa_supplicant, wpa_supplicant, -i, interface, 
 -C,
 +   WPASUPP_CTRL, -P, WPAPID, -B, NULL) == -1) {
 +di_error(could not exec wpasupplicant: %s, strerror(errno));
 +return 1;
 +}
 +else 
 +return 0;
 +}
 +else {
 +waitpid(wpa_supplicant_pid, NULL, 0);
 +return 0;
 +}
 +}
 
 this looks fishy. Are you sure you want to return if the child has
 failed to exec?
 
 Can you explain what you mean by looks fishy? Suggestions and
 improvements are more than welcome, and I still have a few things I want
 to do yet myself. I'm a bit of a C novice, so I am more than likely to
 have done a few things the less than perfect way, but I'm not sure what
 you mean by the above comment. As is, if the exec fails, then we return
 back, which could really do with an error template as well. I think I
 still need to do a bit more work on the error handling side of things.

fork() clones the current process. The exec then tries to replace the
child process with a new one, in this case wpasupplicant. If
wpasupplicant can be executed and the exec call succeeds, it never
returns.

However if exec fails, you generally don't want to continue execution,
but exit with an error code.

If done like you did here, you'll have 2 netcfg processes in the
system. From the first look, it doesn't look that this is intended.



-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [Netcfg--Add-WPA-support 3/3] Add WPA support

2009-03-30 Thread Glenn Saberton
Reinhard Tartler wrote:
 Glenn Saberton gsaber...@foomagic.org writes:
 
 Reinhard Tartler wrote:
 Glenn Saberton gsaber...@foomagic.org writes:

 +static int start_wpa_daemon(struct debconfclient *client)
 +{
 +wpa_supplicant_pid = fork();
 +
 +if (wpa_supplicant_pid == 0) {
 +fclose(client-out);
 +if (execlp(wpa_supplicant, wpa_supplicant, -i, interface, 
 -C,
 +   WPASUPP_CTRL, -P, WPAPID, -B, NULL) == -1) {
 +di_error(could not exec wpasupplicant: %s, strerror(errno));
 +return 1;
 +}
 +else 
 +return 0;
 +}
 +else {
 +waitpid(wpa_supplicant_pid, NULL, 0);
 +return 0;
 +}
 +}
 this looks fishy. Are you sure you want to return if the child has
 failed to exec?

 Can you explain what you mean by looks fishy? Suggestions and
 improvements are more than welcome, and I still have a few things I want
 to do yet myself. I'm a bit of a C novice, so I am more than likely to
 have done a few things the less than perfect way, but I'm not sure what
 you mean by the above comment. As is, if the exec fails, then we return
 back, which could really do with an error template as well. I think I
 still need to do a bit more work on the error handling side of things.
 
 fork() clones the current process. The exec then tries to replace the
 child process with a new one, in this case wpasupplicant. If
 wpasupplicant can be executed and the exec call succeeds, it never
 returns.
 
 However if exec fails, you generally don't want to continue execution,
 but exit with an error code.
 
 If done like you did here, you'll have 2 netcfg processes in the
 system. From the first look, it doesn't look that this is intended.
 
 
 
Ah, I see what you mean. I hadn't thought of that. Thanks!

Cheers

Glenn


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#521799: console-setup: [INTL:it] Italian translation of the debconf templates

2009-03-30 Thread Vincenzo Campanella
Package: console-setup
Version: 1.30
Severity: wishlist
Tags: l10n patch

Enclosed please find the Italian translation of the Debconf template.

Best regards
vince
# ITALIAN TRANSLATION OF CONSOLE-SETUP'S.PO-DEBCONF FILE
# COPYRIGHT (C) 2009 THE CONSOLE-SETUP'S COPYRIGHT HOLDER
# This file is distributed under the same license as the console-setup package.
#
# Vincenzo Campanella vin...@gmail.com, 2009.
msgid 
msgstr 
Project-Id-Version: console-setup 1.30\n
Report-Msgid-Bugs-To: console-se...@packages.debian.org\n
POT-Creation-Date: 2009-03-19 18:29+0100\n
PO-Revision-Date: 2009-03-26 18:28+0100\n
Last-Translator: Vincenzo Campanella vin...@gmail.com\n
Language-Team: Italian t...@lists.linux.it\n
MIME-Version: 1.0\n
Content-Type: text/plain; charset=UTF-8\n
Content-Transfer-Encoding: 8bit\n
X-Generator: KBabel 1.11.4\n

#. Type: text
#. Description
#. Main menu item. Please keep below 55 columns
#: ../console-setup.templates:2001
msgid Configure the keyboard
msgstr Configurare la tastiera

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Arabic
msgstr . Arabo

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Armenian
msgstr # Armeno

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Cyrillic - KOI8-R and KOI8-U
msgstr # Cirillico - KOI8-R e KOI8-U

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Cyrillic - non-Slavic languages
msgstr # Cirillico - lingue non slave

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Cyrillic - Slavic languages (also Bosnian and Serbian Latin)
msgstr # Cirillico - lingue slave (inclusi latino bosniaco e serbo)

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Ethiopic
msgstr . Etiope

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Georgian
msgstr # Georgiano

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Greek
msgstr # Greco

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Hebrew
msgstr # Ebreo

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Lao
msgstr # Laotiano

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Latin1 and Latin5 - western Europe and Turkic languages
msgstr # Latino1 e Latino5 - lingue europee occidentali e turco

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Latin2 - central Europe and Romanian
msgstr # Latino2 - lingue centroeuropee e rumeno

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Latin3 and Latin8 - Chichewa; Esperanto; Irish; Maltese and Welsh
msgstr # Latino3 e Latino8 - chichewa, esperanto, irlandese, maltese e gallese

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Latin7 - Lithuanian; Latvian; Maori and Marshallese
msgstr # Latino7 - lituano, lettone, maori e marsciallese

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Latin - Vietnamese
msgstr . Latino - vietnamita

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Thai
msgstr # Thailandese

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Combined - Latin; Slavic Cyrillic; Hebrew; basic Arabic
msgstr . Combinato - latino, cirillico slavo, ebreo, arabo di base

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Combined - Latin; Slavic Cyrillic; Greek
msgstr . Combinato - latino, cirillico slavo, greco

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Combined - Latin; Slavic and non-Slavic Cyrillic
msgstr . Combinato - latino, cirillico slavo e non slavo

#. Type: select
#. Description
#: ../console-setup.templates:3002
msgid Character set to support:
msgstr Set di caratteri da supportare:

#. Type: select
#. Description
#: ../console-setup.templates:3002
msgid Please choose the character set that should be supported by the console font.
msgstr Scegliere il set di caratteri che devono essere supportati dalla consolle.

#. Type: select
#. Description
#: ../console-setup.templates:3002
msgid 
If you don't use a framebuffer, the choices that start with \.\ will 
reduce the number of available colors on the console.
msgstr 
Se non si usa un framebuffer, le scelte che iniziano per «.» ridurranno 
il numero di colori disponibili nella consolle.

#. Type: select
#. Description
#: ../console-setup.templates:4001
msgid Keyboard model:
msgstr Modello di tastiera:

#. Type: select
#. Description
#: ../console-setup.templates:5001
msgid Origin of the keyboard:
msgstr Origine della tastiera:

#. Type: select
#. Description
#: ../console-setup.templates:6001
msgid Keyboard layout:
msgstr Mappatura della tastiera:

#. Type: select
#. Description
#: ../console-setup.templates:6001
msgid 
There is more than one possible keyboard layout with the origin you 
selected. Please select the layout matching the keyboard for this machine.
msgstr 
Con l'origine selezionata sono possibili più mappature della 

Bug#521806: [INTL:es] Spanish debconf template translation for console-setup

2009-03-30 Thread Francisco Javier Cuadrado
Package: console-setup
Version: 1.30
Severity: wishlist
Tags: l10n patch


-- 
Saludos

Fran
# console-setup po-debconf translation to Spanish
# Copyright (C) 2007, 2009 Free Software Foundation, Inc.
# This file is distributed under the same license as the console-setup package.
#
# Changes:
#   - Initial translation
#   Manuel Porras Peralta venturi.deb...@gmail.com, 2007
#
#   - Updates
#   Francisco Javier Cuadrado fcocuadr...@gmail.com, 2009
#
# Traductores, si no conocen el formato PO, merece la pena leer la
# documentación de gettext, especialmente las secciones dedicadas a este
# formato, por ejemplo ejecutando:
#   info -n '(gettext)PO Files'
#   info -n '(gettext)Header Entry'
#
# Equipo de traducción al español, por favor lean antes de traducir
# los siguientes documentos:
#
#   - El proyecto de traducción de Debian al español
# http://www.debian.org/intl/spanish/
# especialmente las notas y normas de traducción en
# http://www.debian.org/intl/spanish/notas
#
#   - La guía de traducción de po's de debconf:
# /usr/share/doc/po-debconf/README-trans
# o http://www.debian.org/intl/l10n/po-debconf/README-trans
#
msgid 
msgstr 
Project-Id-Version: console-setup 1.30\n
Report-Msgid-Bugs-To: console-se...@packages.debian.org\n
POT-Creation-Date: 2009-03-19 18:29+0100\n
PO-Revision-Date: 2009-03-20 20:17+0100\n
Last-Translator: Francisco Javier Cuadrado fcocuadr...@gmail.com\n
Language-Team: Debian l10n Spanish debian-l10n-span...@lists.debian.org\n
MIME-Version: 1.0\n
Content-Type: text/plain; charset=UTF-8\n
Content-Transfer-Encoding: 8bit\n

#. Type: text
#. Description
#. Main menu item. Please keep below 55 columns
#: ../console-setup.templates:2001
#| msgid The origin of the keyboard:
msgid Configure the keyboard
msgstr Configure el teclado

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Arabic
msgstr . Árabe

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Armenian
msgstr # Armenio

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Cyrillic - KOI8-R and KOI8-U
msgstr # Cirílico - LOI8-R y KOI8-U

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Cyrillic - non-Slavic languages
msgstr # Cirílico - lenguas no Eslavas

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Cyrillic - Slavic languages (also Bosnian and Serbian Latin)
msgstr # Cirílico - Lenguas Eslavas (también el Latino Serbio y Bosnio)

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Ethiopic
msgstr . Etíope

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Georgian
msgstr # Georgiano

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Greek
msgstr # Griego

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Hebrew
msgstr # Hebreo

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Lao
msgstr # Lao

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Latin1 and Latin5 - western Europe and Turkic languages
msgstr # Latino1 y Latino5 - Europa Occidental y lenguas Turcas

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Latin2 - central Europe and Romanian
msgstr # Latino2 - Europa Central y Rumano

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Latin3 and Latin8 - Chichewa; Esperanto; Irish; Maltese and Welsh
msgstr # Latino3 y Latino8 - Chichewa; Esperanto; Irlandés; Maltés y Galés

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Latin7 - Lithuanian; Latvian; Maori and Marshallese
msgstr # Latino7 - Lituano; Letonio; Maori y Marsellés

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Latin - Vietnamese
msgstr . Latino - Vietnamita

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid # Thai
msgstr # Tailandés

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Combined - Latin; Slavic Cyrillic; Hebrew; basic Arabic
msgstr . Combinado - Latino; Cirílico Eslavo; Hebreo; Árabe básico

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Combined - Latin; Slavic Cyrillic; Greek
msgstr . Combinado - Latino; Cirílico Eslavo; Griego

#. Type: select
#. Choices
#: ../console-setup.templates:3001
msgid . Combined - Latin; Slavic and non-Slavic Cyrillic
msgstr . Combinado - Latino; Cirílico Eslavo y no Eslavo

#. Type: select
#. Description
#: ../console-setup.templates:3002
msgid Character set to support:
msgstr Conjunto de caracteres a utilizar:

#. Type: select
#. Description
#: ../console-setup.templates:3002
#| msgid Set of characters that should be supported by the console font:
msgid Please choose the character set that should be supported by the console font.
msgstr Escoja el conjunto de caracteres que debería utilizar la tipografía de la consola.

#. Type: select
#. Description
#: ../console-setup.templates:3002
msgid If you don't use a framebuffer, 

please unblock freetype 2.3.9-4

2009-03-30 Thread Steve Langasek
Hi,

freetype 2.3.9-4 is ready to go into testing, but it includes a udeb.
debian-boot, is this ok to update?

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: tagging 499482

2009-03-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 # Automatically generated email from bts, devscripts version 2.10.35lenny3
 tags 499482 pending
Bug#499482: Dmraid activation could possibly activate degraded arrays.
There were no tags set.
Tags added: pending


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#520442: amd64 netinst netcfg segfault daily build 03/19/2009

2009-03-30 Thread Wartan Hachaturow
On Fri, Mar 27, 2009 at 06:49:33AM +0100, Christian Perrier wrote:
  This is the same bug as #520711
 
 Right. Let's merge the bugs.

I would say even more: this is the same bug as #517231.
I can confirm that unpacking libnss-* 2.9 udebs manually in the booted installer
removes the segfault.

-- 
Regards, Vartan.
Be different: conform.



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



oldsys-preseed_3.2lenny1_amd64.changes ACCEPTED

2009-03-30 Thread Debian Installer

Accepted:
oldsys-preseed_3.2lenny1.dsc
  to pool/main/o/oldsys-preseed/oldsys-preseed_3.2lenny1.dsc
oldsys-preseed_3.2lenny1.tar.gz
  to pool/main/o/oldsys-preseed/oldsys-preseed_3.2lenny1.tar.gz
oldsys-preseed_3.2lenny1_amd64.udeb
  to pool/main/o/oldsys-preseed/oldsys-preseed_3.2lenny1_amd64.udeb


Override entries for your package:
oldsys-preseed_3.2lenny1.dsc - optional debian-installer
oldsys-preseed_3.2lenny1_amd64.udeb - optional debian-installer

Announcing to debian-chan...@lists.debian.org
Closing bugs: 502821 


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#502821: marked as done (oldsys-preseed: Extract values for DNS-323)

2009-03-30 Thread Debian Bug Tracking System

Your message dated Mon, 30 Mar 2009 13:53:42 +
with message-id e1lohvq-0006pm...@ries.debian.org
and subject line Bug#502821: fixed in oldsys-preseed 3.2lenny1
has caused the Debian Bug report #502821,
regarding oldsys-preseed: Extract values for DNS-323
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 ow...@bugs.debian.org
immediately.)


-- 
502821: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502821
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: oldsys-preseed
Severity: normal
Tags: patch

The attached patch adds the ability to extract hostname and network
information from the nvram of a DNS-323 (tested on a rev B1 machine).

- Matt
From 7a16c8d3b4fcaedb1bdcb4fe63bd134d1a98f372 Mon Sep 17 00:00:00 2001
From: Matt Palmer mpal...@hezmatt.org
Date: Mon, 20 Oct 2008 14:40:28 +1100
Subject: [PATCH] Extend oldsys-preseed package to handle the DNS323

Modelled closely on the NSLU2 code, with new functions to parse the
alternate way that the DNS-323 stores it's configuration data.
---
 packages/oldsys-preseed/functions  |   26 ++
 packages/oldsys-preseed/oldsys-preseed |   19 ++-
 2 files changed, 44 insertions(+), 1 deletions(-)

diff --git a/packages/oldsys-preseed/functions b/packages/oldsys-preseed/functions
index 9e94589..19f8b3f 100644
--- a/packages/oldsys-preseed/functions
+++ b/packages/oldsys-preseed/functions
@@ -104,6 +104,15 @@ get_var() {
 	echo $1 | grep ^$2= | sed s/^$2=//
 }
 
+# Get the value from a string in the form of var = value from a file.
+# Named for the sib.conf file on the DNS-323 that this function was
+# originally written for.
+# $1 = file to read
+# $2 = var to read
+get_sib_var() {
+	grep ^$2[[:space:]]*= $1 |sed s/^$2[[:space:]]*=[[:space:]]*\\(.*\)\[[:space:]]*$/\1/
+}
+
 # Add a string to a variable; deals with the fact when a string is empty
 # $1 = variable name
 # $2 = string
@@ -143,6 +152,23 @@ parse_sysconf() {
 	DOMAIN=$(get_var $sysconf domain_name)
 }
 
+# Parse the sib.conf file, as found in the Dlink DNS-323
+# $1 = path to sib.conf
+parse_sib_conf() {
+	if [ $(get_sib_var $1 CF-IP-DHCP-ENABLE) = 0 ]; then
+		NET_CONFIG=static
+	fi
+	IPADDRESS=$(get_sib_var $1 CF-IP-STATIC-IP)
+	NETMASK=$(get_sib_var $1 CF-IP-STATIC-IP-NETMASK)
+	GATEWAY=$(get_sib_var $1 CF-IP-STATIC-IP-GATEWAY)
+	var_add NAMESERVERS $(get_sib_var $1 CF-IP-DNS1)
+	var_add NAMESERVERS $(get_sib_var $1 CF-IP-DNS2)
+	# Since we can't get at just the config file that we want (since we
+	# have no minix filesystem support), we're grepping the whole MTD
+	# device, and there's another config file that defines
+	# CF-SYS-MODEL-STR to be DNS-323... ick.
+	HOSTNAME=$(get_sib_var $1 CF-SYS-MODEL-STR | grep -v DNS-323)
+}
 
 # Generating
 
diff --git a/packages/oldsys-preseed/oldsys-preseed b/packages/oldsys-preseed/oldsys-preseed
index 0c588c1..7788394 100755
--- a/packages/oldsys-preseed/oldsys-preseed
+++ b/packages/oldsys-preseed/oldsys-preseed
@@ -231,6 +231,24 @@ case `archdetect` in
 			fi
 			umount $path/sda1 || true
 			rmdir $path/sda1 $path || true
+		elif echo $machine | grep -q ^D-Link DNS-323; then
+			check_file /proc/mtd
+			rootfs=$(get_mtdblock MTD1)
+			if [ -z $rootfs ]; then
+log Can't find rootfs MTD partition
+exit 0
+			fi
+			# I can't see anywhere this is configured, so we'll hard-code it
+			# for now
+			INTERFACE=eth0
+			parse_sib_conf /dev/$rootfs
+			sanity_check_static_config
+			if [ $NET_CONFIG != static ]; then
+IPADDRESS=192.168.1.77
+NETMASK=255.255.255.0
+GATEWAY=192.168.1.254
+[ -z $NAMESERVERS ]  NAMESERVERS=192.168.1.254
+			fi
 		else
 			exit_unknown
 		fi
@@ -258,4 +276,3 @@ fi
 add $FILE partconf/already-mounted boolean false
 
 generate_preseed_file $FILE
-
-- 
1.5.6.5

---End Message---
---BeginMessage---
Source: oldsys-preseed
Source-Version: 3.2lenny1

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

oldsys-preseed_3.2lenny1.dsc
  to pool/main/o/oldsys-preseed/oldsys-preseed_3.2lenny1.dsc
oldsys-preseed_3.2lenny1.tar.gz
  to pool/main/o/oldsys-preseed/oldsys-preseed_3.2lenny1.tar.gz
oldsys-preseed_3.2lenny1_amd64.udeb
  to pool/main/o/oldsys-preseed/oldsys-preseed_3.2lenny1_amd64.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 502...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software

hello

2009-03-30 Thread sethpn

I have made a patched kernel of etch with Lustre. I would like to know:

(1)which program is best to create my own image?
(2)which tftp server program is best to use?


Bug#516347: debian-installer: guided-with-lvm no longer allows ? primary partition.

2009-03-30 Thread Oded Naveh
Similar behavior observed with recipes defining only one primary partition 
(/boot).
The effect of the bug was dependent on the size of that partition.

If changing the partition size (try 200 200 200) allows partitioning, then 
we're talking the same bug.
Try a few more sizes as I suspect it also depends on the drive parameters (e.g. 
size and CHS).

Examples for recipes can be found in:
http://svn.debian.org/wsvn/debian-edu/trunk/src/debian-edu-install/lib/partman/recipes/?rev=57324
90 and 94 don't work, the others work o.k.




--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#521196: debootstrap does not support https transport

2009-03-30 Thread Cody A.W. Somerville
On Thu, Mar 26, 2009 at 7:42 PM, Colin Watson cjwat...@debian.org wrote:


 HTTPS may require more configuration than HTTP. Do you need
 authentication on the HTTPS downloads (e.g. basic auth, client
 certificates)? Do you need to check the server certificate, or is wget
 --no-check-certificate sufficient?


I do require basic authentication on the HTTPS downloads but not client
certificates. --no-check-certificate would also be fine for me.

Cheers,

-- 
Cody A.W. Somerville
Software Systems Release Engineer
Foundations Team
Custom Engineering Solutions Group
Canonical OEM Services
Phone: +1-781-850-2087
Cell: +1-506-471-8402
Email: cody.somervi...@canonical.com


Bug#521196: debootstrap does not support https transport

2009-03-30 Thread Bastian Blank
On Thu, Mar 26, 2009 at 10:42:34PM +, Colin Watson wrote:
 HTTPS may require more configuration than HTTP. Do you need
 authentication on the HTTPS downloads (e.g. basic auth, client
 certificates)? Do you need to check the server certificate, or is wget
 --no-check-certificate sufficient?

The authentication override for the signature can be used for that also.
But the default needs to be enforcing certificate checks.

Bastian

-- 
Live long and prosper.
-- Spock, Amok Time, stardate 3372.7



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#520442: amd64 netinst netcfg segfault daily build 03/19/2009

2009-03-30 Thread Christian Perrier
reassign 520711 debian-installer
forcemerge 517231 520711
thanks

Quoting Wartan Hachaturow (w...@altlinux.org):
 On Fri, Mar 27, 2009 at 06:49:33AM +0100, Christian Perrier wrote:
   This is the same bug as #520711
  
  Right. Let's merge the bugs.
 
 I would say even more: this is the same bug as #517231.
 I can confirm that unpacking libnss-* 2.9 udebs manually in the booted 
 installer
 removes the segfault.


OK. So now we just need to find the package responsible for doing
this.

Merging the 3 bugs together




signature.asc
Description: Digital signature


Processed: Re: Bug#520442: amd64 netinst netcfg segfault daily build 03/19/2009

2009-03-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 520711 debian-installer
Bug#520711: installation-reports: The squeeze netinst doesn't find archive
Bug#520442: amd64 netinst netcfg segfault daily build 03/19/2009
Bug reassigned from package `installation-reports' to `debian-installer'.

 forcemerge 517231 520711
Bug#517231: debian-installer should unpack all glibc udebs at once
Bug#520711: installation-reports: The squeeze netinst doesn't find archive
Bug#520442: amd64 netinst netcfg segfault daily build 03/19/2009
Forcibly Merged 517231 520442 520711.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: please unblock freetype 2.3.9-4

2009-03-30 Thread Luk Claes
Steve Langasek wrote:
 Hi,
 
 freetype 2.3.9-4 is ready to go into testing, but it includes a udeb.
 debian-boot, is this ok to update?

unblocked

Cheers

Luk


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#521883: installation-reports: underscore not allowed for initial user account login

2009-03-30 Thread Christophe
Package: installation-reports
Severity: wishlist

Hello,

When prompted for the login of the first user, a check is performed to ensure 
it is valid.
However, the character '_' (underscore) is rejected.
Is it thinkable to have it accepted?

-- Package-specific info:

Boot method: CD
Image version: 
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/debian-testing-amd64-i386-powerpc-netinst.iso
  [probably 28-Mar-2009]
Date: 29-Mar-2009

Machine: Compal IFL91
Partitions: n/a


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O]
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives:  [O]
Install base system:[O]
Clock/timezone setup:   [ ]
User/password setup:[E]
Install tasks:  [O]
Install boot loader:[E]
Overall install:[O]

Comments/Problems:


-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to sub...@bugs.debian.org.

==
Installer lsb-release:
==
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION=Debian GNU/Linux installer
DISTRIB_RELEASE=6.0 (squeeze) - installer build 20090328-00:01
X_INSTALLATION_MEDIUM=cdrom

==
Installer hardware-summary:
==
(not very usefull here...)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#521888: installation-reports: don't ask 3 times about usb-mass-storage + pccard during install

2009-03-30 Thread Christophe
Package: installation-reports
Severity: wishlist

Hello,

When performing the install, we are asked during 'Network Detect' stage if we 
want to install support for 'usb-mass-storage', then for 'PC-Card'. We may wish 
to answer no to these. However, we will be re-asked twice more during the 
installation steps (I don't remind the second one, the third one being for 
'Disk Detection' step).
Maybe the installer could remind our choice and not ask again ?


-- Package-specific info:

Boot method: netinst
Image version: 
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/debian-testing-amd64-i386-powerpc-netinst.iso
  [probably 28-Mar-2009]
Date: 29-Mar-2009

Machine: Compal IFL91  (this is a laptop)
Partitions: n/a


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O]
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives:  [O]
Install base system:[O]
Clock/timezone setup:   [E]
User/password setup:[O]
Install tasks:  [O]
Install boot loader:[E]
Overall install:[O]

Comments/Problems:

-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to sub...@bugs.debian.org.

==
Installer lsb-release:
==
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION=Debian GNU/Linux installer
DISTRIB_RELEASE=6.0 (squeeze) - installer build 20090328-00:01
X_INSTALLATION_MEDIUM=cdrom

==
Installer hardware-summary:
==
umame -a: Linux Luchta 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 
x86_64 unknown
lspci -knn: 00:00.0 Host bridge [0600]: Intel Corporation Mobile 
PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
lspci -knn: Subsystem: COMPAL Electronics Inc Device [14c0:0026]
lspci -knn: 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 
GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
lspci -knn: Subsystem: COMPAL Electronics Inc Device [14c0:0026]
lspci -knn: 00:02.1 Display controller [0380]: Intel Corporation Mobile 
GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 0c)
lspci -knn: Subsystem: COMPAL Electronics Inc Device [14c0:0026]
lspci -knn: 00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 
Family) USB UHCI Controller #4 [8086:2834] (rev 03)
lspci -knn: Subsystem: COMPAL Electronics Inc Device [14c0:0026]
lspci -knn: Kernel driver in use: uhci_hcd
lspci -knn: 00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 
Family) USB UHCI Controller #5 [8086:2835] (rev 03)
lspci -knn: Subsystem: COMPAL Electronics Inc Device [14c0:0026]
lspci -knn: Kernel driver in use: uhci_hcd
lspci -knn: 00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 
Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
lspci -knn: Subsystem: COMPAL Electronics Inc Device [14c0:0026]
lspci -knn: Kernel driver in use: ehci_hcd
lspci -knn: 00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) 
HD Audio Controller [8086:284b] (rev 03)
lspci -knn: Subsystem: COMPAL Electronics Inc Device [14c0:0026]
lspci -knn: 00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) 
PCI Express Port 1 [8086:283f] (rev 03)
lspci -knn: Kernel driver in use: pcieport-driver
lspci -knn: 00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) 
PCI Express Port 2 [8086:2841] (rev 03)
lspci -knn: Kernel driver in use: pcieport-driver
lspci -knn: 00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) 
PCI Express Port 3 [8086:2843] (rev 03)
lspci -knn: Kernel driver in use: pcieport-driver
lspci -knn: 00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) 
PCI Express Port 4 [8086:2845] (rev 03)
lspci -knn: Kernel driver in use: pcieport-driver
lspci -knn: 00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) 
PCI Express Port 5 [8086:2847] (rev 03)
lspci -knn: Kernel driver in use: pcieport-driver
lspci -knn: 00:1c.5 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) 
PCI Express Port 6 [8086:2849] (rev 03)
lspci -knn: Kernel driver in use: pcieport-driver
lspci -knn: 00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 
Family) USB UHCI Controller #1 [8086:2830] (rev 03)
lspci -knn: Subsystem: COMPAL Electronics Inc Device [14c0:0026]
lspci -knn: Kernel driver in use: uhci_hcd
lspci -knn: 00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 
Family) USB UHCI Controller #2 [8086:2831] (rev 03)
lspci -knn: Subsystem: COMPAL Electronics Inc Device 

Bug#521890: installation-reports: disk partitioning in expert could let user provide a value for blocksize/inode ratio

2009-03-30 Thread Christophe
Package: installation-reports
Severity: wishlist

Hello,

During the hard-disk partitioning step in expert mode, when we choose to format 
a partition we have the possibility to pick the blocksize/inode ratio from a 
list.
In some cases, we would like to specify a custome value, so it would be great 
to have the possibility to enter one.


-- Package-specific info:

Boot method: netinst
Image version: 
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/debian-testing-amd64-i386-powerpc-netinst.iso
  [probably 28-Mar-2009]
Date: Date and time of the install

Machine: Compal IFL91
Partitions: 
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d2521

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1158012691318+  83  Linux
/dev/sda215812577 8008402+  82  Linux swap / Solaris
/dev/sda32578   38913   291868920   83  Linux


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O]
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives:  [O]
Install base system:[O]
Clock/timezone setup:   [E]
User/password setup:[O]
Install tasks:  [O]
Install boot loader:[E]
Overall install:[O]

Comments/Problems:


-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to sub...@bugs.debian.org.

==
Installer lsb-release:
==
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION=Debian GNU/Linux installer
DISTRIB_RELEASE=6.0 (squeeze) - installer build 20090328-00:01
X_INSTALLATION_MEDIUM=cdrom

==
Installer hardware-summary:
==
umame -a: Linux Luchta 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 
x86_64 unknown
df: Filesystem   1k-blocks  Used Available Use% Mounted on
df: tmpfs  102711632   1027084   0% /dev
df: /dev/sda1 12491804   3076116   8781124  26% /target
df: /dev/sda3287288992195628 284174676   0% /target/home
df: /dev/sda1 12491804   3076116   8781124  26% /dev/.static/dev
df: tmpfs  102711632   1027084   0% /target/dev

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



d-i kernel sound drivers selection in kernel-wedge

2009-03-30 Thread Samuel Thibault
Hello,

As a follow-up to thread `software speech synthesis in d-i?', I'm
wondering about the kernel sound drivers and kernel-wedge.

I had started writing a sound-pcm-modules file that would include
drivers for boards that support PCM, so as to avoid wasting space with
MIDI boards. However, AIUI, a module can not be in several kernel-wedge
packages, and so there couldn't be both a sound-pcm-modules and a
sound-seq-modules since actually a lot of devices do support both PCM
and MIDI :) so I'm even wondering whether to just call it sound-modules?

The list of drivers is quite long, and I'm wondering whether it is
really useful to rule out MIDI-only drivers, as there are very few
boards not supporting PCM.  Simply including everything from sound/
would be a lot easier to maintain, wouldn't it?  I'm OK with taking the
time to select drivers, I'm just wondering whether it's really worth
spending time on it instead of other things (the waste is probably a few
100KBs, compared to the total 6MB of sound/).

Samuel


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Log from the D-I team meeting of March 30th 2009

2009-03-30 Thread Christian Perrier
The full log of the meeting is available from the D-I team meetings
page on http://wiki.debian.org/DebianInstaller/Meetings

From that log and the March 16th meeting log, I'll try to cook up some
formal minutes.

I know I promised this for the March 16th meeting but failed to do it.

These minutes will probably be crossposted on d-d-a as a Bits from
the D-I team post.

Many thanks to all people who participated to the meeting (and
apologies for not being able to chair the meeting from the beginning,
because of unplanned personal commitments).

See you on April 11th for the next meeting.

-- 




signature.asc
Description: Digital signature


Re: [pkg-fso-maint] d-i installation on embedded devices

2009-03-30 Thread Luca Capello
Hi there!

NB, my first mail was already quite long and Per's reply rendered it
bigger, thus just assume that I will agree on everything I did not
comment on ;-)

On Wed, 25 Mar 2009 14:53:41 +0100, Per Andersson wrote:
 On Wed, Mar 25, 2009 at 12:00 PM, Luca Capello l...@pca.it wrote:
 2009/3/25 Joachim Breitner nome...@debian.org:
 Maybe some other thread discusses this already,
 but why don't you use d-i for installation?

 Simplicity. We wanted to get started as fast as possible. But given the
 ever increasing complexity of install.sh, this should be the goal, yet.

 Could porting d-i to GTA02 (and GTA01 but I don't
 have one of those) be worth doing as a GSoC project?

 For anyone working on/for the pkg-fso, thanks to Arne Anka [1] I can
 borrow/offer a GTA01 (if needed the full development kit, i.e. with a
 debug board as well).  Since I was in contact with people interested to
 sell their GTA01, I can also find more than one device, if needed.  This
 is *only* for Debian-related work, in any field (e.g. X11, ALSA, GPS,
 etc.) and not only for d-i.

 Cool, a d-i knowledgable person (willing to mentor)
 could borrow a handset then.

Yes, that would be great in any case :-)

 In any case, I think that the MTD project should still have an higher
 priority, because:

 - its use is wider (e.g. for NAS devices)

 - it involves more people (not only the pkg-fso crew), thus it is
  probably easier to have advices

 I agree with both points, just an idea I had (as a
 backup proposal) if mentoring becomes a problem
 with the MTD project.

Martin Michlmayr already blogged about it:

  http://www.cyrius.com/journal/debian/kirkwood/sheevaplug/nslu2-killer

Because of that, I had the impression that the last bit missing was a
student, am I wrong, Martin?

 And I would really like to work on d-i for Openmoko
 phones as well of course.

Good, we are not alone in the dark :-)

 I think we clearly need to have a plan, divided into two phases:

 1) installation into the microSD

   a. booting d-i on the FR, which is an easy task given that we must
      use the pkg-fso kernel package [2].

   b. starting the graphical installer with a virtual keyboard, since
      there is no physical keyboard, thus the textual installer cannot
      be used.

 And/or accept SSH connections to the installer. As is
 done for NAS devices.

I think I was misunderstood: I think installation from SSH quite easy to
achieve, since we already know quite well how to boot Debian on the FR.

What I was talking about is a *real* installation on the FR with nothing
more than the FR and a WiFi connection (which is faster than any USB
one).

   c. installing everything on the microSD, which means that d-i should
      not use the microSD at all, thus it should probably be run from a
      ramdisk.

 It should be possible to write d-i kernel and ramdisk
 to MTD flash and boot from that, not touching
 the microSD.

While this is a possibility, however it means that you need to touch the
existing distribution installed the flash memory, thus if the Debian
installation will fail at any point, the phone is no more usable.

 2) installation into the MTD
[...]
   b. disk space.

      The FR (GTA02) has 256MB of flash memory, while the 1973 (GTA01)
      only 64MB [5].  In both case, there is no way we can fit a normal
      Debian system on it, especially considering that we should target
      the FreeSmartphone.Org initiative [6], which ATM relies on Python.

 Are there any indications on how much flash memory
 the GTA03 will have?

Sorry, but the only things I know are available on the Openmoko wiki:

  http://wiki.openmoko.org/wiki/GTA03

Thx, bye,
Gismo / Luca


pgpB5o9dkQSU6.pgp
Description: PGP signature


Re: d-i kernel sound drivers selection in kernel-wedge

2009-03-30 Thread Otavio Salvador
On Mon, Mar 30, 2009 at 6:23 PM, Samuel Thibault
samuel.thiba...@ens-lyon.org wrote:
 Hello,

 As a follow-up to thread `software speech synthesis in d-i?', I'm
 wondering about the kernel sound drivers and kernel-wedge.

 I had started writing a sound-pcm-modules file that would include
 drivers for boards that support PCM, so as to avoid wasting space with
 MIDI boards. However, AIUI, a module can not be in several kernel-wedge
 packages, and so there couldn't be both a sound-pcm-modules and a
 sound-seq-modules since actually a lot of devices do support both PCM
 and MIDI :) so I'm even wondering whether to just call it sound-modules?

Well, in this case sound-modules makes more sense, indeed.

 The list of drivers is quite long, and I'm wondering whether it is
 really useful to rule out MIDI-only drivers, as there are very few
 boards not supporting PCM.  Simply including everything from sound/
 would be a lot easier to maintain, wouldn't it?  I'm OK with taking the
 time to select drivers, I'm just wondering whether it's really worth
 spending time on it instead of other things (the waste is probably a few
 100KBs, compared to the total 6MB of sound/).

Gosh!

I'm starting to think that we could benefit of a specific flavour for it.
What others think?

-- 
Otavio Salvador  O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org