Bug#606725: installation-guide: TFTP daemons now use /srv/tftp.

2010-12-11 Thread Charles Plessy
Package: installation-guide
Version: 20100518
Severity: minor

Dear D-I team,

first of all, thank you for your hard work. I recently installed Squeeze, and
it went very smoothly.

I noticed a small inconsistency in the installation manual: TFTP daemons now
use /srv/tftp instead of /var/lib/tftpboot. A command like the following will
correct the manual and the howto.

grep -r '/var/lib/tftpboot' . | grep -v svn | cut -f1 -d':' | xargs sed -i 
's|/var/lib/tftpboot|/srv/tftp|'

Since I did not figure out if it is necessary to run it on the whole tree, only
the xml files (not the po), or only the english version, I am not submitting
the corresponding patch. But let me know if there is something I can do.

Have a nice week-end,

-- 
Charles Plessy,
Tsurumi, Kanagawa, Japan



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101211093751.5625.56555.report...@aqwa.igloo



Bug#606697: installation-reports: install succes in virtualbox with M-A DVD iso

2010-12-11 Thread andre lasfargues
Hello, bonjour,

2010/12/11 Christian PERRIER bubu...@debian.org

 Quoting andre (altux...@gmail.com):
  Package: installation-reports
  Severity: wishlist
 
  Installation in graphical expert mode
  No problem
  But the install process went in qwerty until the final step
  I had selected French from the initial step but i had to type in qwerty
 mode
  till the final


 Were'nt you, at some point, proposed with a keymap selection?

 Yes, it did


 You mention you picked French. I guess that was the language. However,
 after the country question, you should have been prompted with a choice
 for your keymap. Haven't you?

 Yes, i selected the default french keymap, and when i had to type my user
which is andre
My a was a q and it's the reason for this install report even if the langage
menus were corrects ( in french )
Perhaps it's my virtualbox wich is on a debian squeeze 64, il will redo an
install now

Thanks to the release Team



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

 iQIcBAEBCAAGBQJNAxvDAAoJEIcvcCxNbiWobT4QAL/rq1J8KKFxOW7ivldq1qJK
 IxcivDmVxNvliZ/Ems7+lyGISdoUTD92E0PPhJcW3OIEOlSs4Qcbv4T7ur8KSt2a
 VocfyfHm66z2JHlPZ8cehgU+btQESUL7b4Yy0ZpaMyQLINJwP8bw6+k1W7Ei1tGx
 VYr0v15Npt7FnSJlHRjSw8h/orXx4mHW5FayoFw4Qe/YJ0+ll3V7qCJXLgbB/c/c
 cpZo7lsMnRbnayOzongiA0yWzQPULVPM3ffYliaCsBG5Ofgfh8MMOecuqW/xdEoP
 jLl3cgWiJIxUqJtjzetWk+80K+Ng4iw+EE/8j18dfpzKWPg8cCJBrdyLKiZccdHp
 OScQP8+8phQjoKcFzZng6+eZgWEzoncMQGSOky78VWhdgf5dpoFk8Iu7vOIhODFI
 Ch6900HMPsWypxUPLlUjFGHJssLJU1NQW3euqdKpfZJ2HXTbVORw//0jf1c9QRdT
 IY7eLMSQsy+sZ5UlYoDgxL4UX0kihrb12e9r7ihyTQxaZMiclMcp/3y0qIJG1VNh
 9Or2fYf7+IfGBgaePKYBHjJEd4cIFAaVdyKWxeiU/eLWfcq2/+4cH5pF6hXVjp/t
 JhktLjkxKMxu4VN/BdTjJrnRI0nGHvhDrdbTX+g8V5VRywjCX7PN5uOy1ym+nVqA
 p7+68biX2YQXK7dOjr4j
 =ruvD
 -END PGP SIGNATURE-




Re: Some bugfixes for LILO to go into Squeeze [new DM]

2010-12-11 Thread Joachim Wiedorn
Mehdi Dogguy me...@dogguy.org wrote on 2010-12-06 23:56:

 Yes. Sending us a debdiff before the upload would be appreciated.
Thanks for your readiness.

Now I have created a LILO package only with essential fixes and
updates. I have appended the debdiff log. And here is the changelog:


lilo (1:22.8-9) unstable; urgency=low

  * New maintainter.
  * debian/patches:
- Remove patch 16_geometry.patch for inaccessible disks and add
  information in README.Debian about using of 'inaccessible' option.
  (Closes: #409285, #400642)
- Fix script checkit for newer gcc.
- Fix for use LVM volume as root device. (Closes: #398957)
- Fix for better computing vmlinux size, upgrade hints in
  README.Debian. (fixing sporadic failures).
  * Fix hook scripts: check for /sbin/lilo.
  * Add lacking file disk.com for creating test floppy.
  * Add universal menu image for debian, remove menu image for sarge.
  Update of template, postinst and postrm. (Closes: #420587, #427507)
  * Set source format 1.0. Add README.source file.
  * Update watch file to new alioth project area.
  * debian/control:
- Remove VCS urls and add new Homepage url.
- Remove IA64 architecture (this is already status quo).
- Remove double lines of Priority and Section.
- Add package conflicts to grub-pc and grub-legacy.
- Remove conflicts to manpages.
- Bump to Standards-Version 3.9.1 (without changes).


The new package files already can be found here:
http://lilo.alioth.debian.org/debian-mentors/

Today I will upload the new package to mentors.d.o.

I would be glad if the release team would accept this new package 
and let it go into squeeze.

Have a nice day,

Joachim (Germany)


lilo-debdiff_22.8-9.log.gz
Description: GNU Zip compressed data


signature.asc
Description: PGP signature


Bug#606735: installation-reports: Successful Squeeze install on a i386 machine

2010-12-11 Thread Alberto Aparici
Package: installation-reports
Severity: minor
Tags: d-i


Just filing this report for statistical purposes.

-- Package-specific info:

Boot method: CD
Image version: Debian installer 6.0 Beta1, netinst CD, build 20101020
Date: Dec 5, 2010, approx at 17:00 CET

Machine: Piecewise desktop computer with VIA motherboard, AMD Athlon at 1200 
MHz, Ensoniq AudioPCI128 and Matrox G550
Partitions: Output of df -Tl
/dev/sda2 ext338134272   6568152  31178692  18% /
tmpfstmpfs  517240 8517232   1% /lib/init/rw
udev tmpfs  512452   176512276   1% /dev
tmpfstmpfs  517240 0517240   0% /dev/shm


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:   [O]
User/password setup:[O]
Install tasks:  [O]
Install boot loader:[O]
Overall install:[O]

Comments/Problems:

Description of the install, in prose, and any thoughts, comments
  and ideas you had during the initial install.

None. Smooth install.

-- 

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 20101020
X_INSTALLATION_MEDIUM=cdrom

==
Installer hardware-summary:
==
uname -a: Linux Nox-Perpetua 2.6.32-5-486 #1 Thu Oct 14 16:56:52 UTC 2010 i686 
GNU/Linux
lspci -knn: 00:00.0 Host bridge [0600]: VIA Technologies, Inc. VT8363/8365 
[KT133/KM133] [1106:0305] (rev 03)
lspci -knn: Subsystem: ABIT Computer Corp. Device [147b:a401]
lspci -knn: Kernel driver in use: agpgart-via
lspci -knn: 00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8363/8365 
[KT133/KM133 AGP] [1106:8305]
lspci -knn: 00:07.0 ISA bridge [0601]: VIA Technologies, Inc. VT82C686 [Apollo 
Super South] [1106:0686] (rev 40)
lspci -knn: Subsystem: ABIT Computer Corp. Device [147b:]
lspci -knn: Kernel driver in use: parport_pc
lspci -knn: 00:07.1 IDE interface [0101]: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 06)
lspci -knn: Subsystem: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571]
lspci -knn: Kernel driver in use: pata_via
lspci -knn: 00:07.2 USB Controller [0c03]: VIA Technologies, Inc. VT82x 
UHCI USB 1.1 Controller [1106:3038] (rev 16)
lspci -knn: Subsystem: First International Computer, Inc. Device [0925:1234]
lspci -knn: Kernel driver in use: uhci_hcd
lspci -knn: 00:07.3 USB Controller [0c03]: VIA Technologies, Inc. VT82x 
UHCI USB 1.1 Controller [1106:3038] (rev 16)
lspci -knn: Subsystem: First International Computer, Inc. Device [0925:1234]
lspci -knn: Kernel driver in use: uhci_hcd
lspci -knn: 00:07.4 Bridge [0680]: VIA Technologies, Inc. VT82C686 [Apollo 
Super ACPI] [1106:3057] (rev 40)
lspci -knn: Subsystem: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] 
[1106:3057]
lspci -knn: 00:0b.0 Multimedia audio controller [0401]: Ensoniq 5880B 
[AudioPCI] [1274:5880] (rev 02)
lspci -knn: Subsystem: Ensoniq Device [1274:2000]
lspci -knn: 00:0d.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
lspci -knn: Subsystem: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ [10ec:8139]
lspci -knn: Kernel driver in use: 8139too
lspci -knn: 00:13.0 Mass storage controller [0180]: HighPoint Technologies, 
Inc. HPT366/368/370/370A/372/372N [1103:0004] (rev 04)
lspci -knn: Subsystem: HighPoint Technologies, Inc. Device [1103:0001]
lspci -knn: Kernel driver in use: HPT366_IDE
lspci -knn: 01:00.0 VGA compatible controller [0300]: Matrox Graphics, Inc. MGA 
G550 AGP [102b:2527] (rev 01)
lspci -knn: Subsystem: Matrox Graphics, Inc. Device [102b:0f84]
usb-list: 
usb-list: Bus 01 Device 01: UHCI Host Controller [1d6b:0001]
usb-list:Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:Manufacturer: Linux 2.6.32-5-486 uhci_hcd
usb-list:Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 02 Device 01: UHCI Host Controller [1d6b:0001]
usb-list:Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:Manufacturer: Linux 2.6.32-5-486 uhci_hcd
usb-list:Interface 00: Class 

Bug#606621: Acknowledgement (mklibs-readelf: segfaults on static objects)

2010-12-11 Thread Bastian Blank
On Fri, Dec 10, 2010 at 04:23:38PM +0200, Konstantinos Margaritis wrote:
 It appears that the same segfault appeared with two other command line 
 options, --print-symbols-provided and --print-symbols-undefined (on the
 same file, /sbin/ldconfig.real. I attach
 the complete patch (tested to work properly throughout the whole d-i image
 build process).

Noted. However the patch is too large for the fix.

Bastian

-- 
The sight of death frightens them [Earthers].
-- Kras the Klingon, Friday's Child, stardate 3497.2



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101211130626.ga21...@wavehammer.waldi.eu.org



Bug#606621: Acknowledgement (mklibs-readelf: segfaults on static objects)

2010-12-11 Thread Konstantinos Margaritis
large? It was a total of 3 ifs added and mostly tab fixes, but sure,
I've got no problem how you actually fix it, as long as it stops
segfaulting :)

Konstantinos

On 11 December 2010 15:06, Bastian Blank bast...@waldi.eu.org wrote:
 On Fri, Dec 10, 2010 at 04:23:38PM +0200, Konstantinos Margaritis wrote:
 It appears that the same segfault appeared with two other command line
 options, --print-symbols-provided and --print-symbols-undefined (on the
 same file, /sbin/ldconfig.real. I attach
 the complete patch (tested to work properly throughout the whole d-i image
 build process).

 Noted. However the patch is too large for the fix.

 Bastian

 --
 The sight of death frightens them [Earthers].
                -- Kras the Klingon, Friday's Child, stardate 3497.2




--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=fuggrjzbnbs9qjsajpyyf1nscubsla1crt...@mail.gmail.com



Re: Bug#606441: unblock: yaboot/1.3.13a-1squeeze1

2010-12-11 Thread Gaudenz Steinlin
Excerpts from Mehdi Dogguy's message of Fre Dez 10 22:52:34 +0100 2010:
 On 12/09/2010 10:27 AM, Gaudenz Steinlin wrote:
  
  I sponsored an uploaded of yaboot to testing-proposed-updates with the
  following changes to fix RC bugs:
  
   yaboot (1.3.13a-1squeeze1) testing-proposed-updates; urgency=low
   .
 * Team upload.
 * Get scsi, sata, and firewire drive info from sysfs as legacy /proc/scsi
   interface does not exist anymore.
   (Closes: #572869, #377097, #342833, #289201)
 * Use persistent device naming symlinks, UUID and LABEL tags instead of
   unix block device names. (Closes: #580455)
 * debian/copyright: Add copyright notice from ofpath.
  
  The package has to go thourgh t-p-u because there is a newer upstream 
  version
  already uploaded to sid.
 
 I'm ok to approve this upload but I prefer to have an ack from Otavio (or
 boot folks) first.

No problem for me. Just a note that the mail I sent to request pre
upload approval was CCed to debian-boot and up til now nobody
answered. I suggest we give the installer team some more days to
react, but if they don't I think we should not wait indefinitely. 

And please also give feedback about the proposed patch to
yaboot-installer in #572925. I plan to upload this fix soon after
yaboot is accepted.

Gaudenz
-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


signature.asc
Description: PGP signature


Re: Bug#606441: unblock: yaboot/1.3.13a-1squeeze1

2010-12-11 Thread Otavio Salvador
On Fri, Dec 10, 2010 at 19:52, Mehdi Dogguy me...@dogguy.org wrote:
 On 12/09/2010 10:27 AM, Gaudenz Steinlin wrote:

 I sponsored an uploaded of yaboot to testing-proposed-updates with the
 following changes to fix RC bugs:

  yaboot (1.3.13a-1squeeze1) testing-proposed-updates; urgency=low
  .
    * Team upload.
    * Get scsi, sata, and firewire drive info from sysfs as legacy /proc/scsi
      interface does not exist anymore.
      (Closes: #572869, #377097, #342833, #289201)
    * Use persistent device naming symlinks, UUID and LABEL tags instead of
      unix block device names. (Closes: #580455)
    * debian/copyright: Add copyright notice from ofpath.

 The package has to go thourgh t-p-u because there is a newer upstream version
 already uploaded to sid.

 I'm ok to approve this upload but I prefer to have an ack from Otavio (or
 boot folks) first.

Please accept it however in the yaboot case I would prefer to try to
get a newer version into squeeze after this fix has been done. So in
my opinion we ought:

 - accept the t-p-u upload;
 - get those fixes into the sid one and if it proves stable get it into squeeze.

-- 
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
Archive: 
http://lists.debian.org/aanlktinth2_25mv=qrirymwmepvfpevvdw2=l23c2...@mail.gmail.com



Bug#606621: Acknowledgement (mklibs-readelf: segfaults on static objects)

2010-12-11 Thread Otavio Salvador
On Sat, Dec 11, 2010 at 11:15, Konstantinos Margaritis
mar...@genesi-usa.com wrote:
 large? It was a total of 3 ifs added and mostly tab fixes, but sure,
 I've got no problem how you actually fix it, as long as it stops
 segfaulting :)

Bastian,

Do you see any better way of fixing it?

-- 
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
Archive: 
http://lists.debian.org/aanlktimt+nkf--h8oe0cznficxwhyffzqf-cr57v5...@mail.gmail.com



Re: Bug#606441: unblock: yaboot/1.3.13a-1squeeze1

2010-12-11 Thread Mehdi Dogguy
On 12/11/2010 06:16 PM, Otavio Salvador wrote:
 On Fri, Dec 10, 2010 at 19:52, Mehdi Dogguy me...@dogguy.org wrote:
 On 12/09/2010 10:27 AM, Gaudenz Steinlin wrote:

 I sponsored an uploaded of yaboot to testing-proposed-updates with the
 following changes to fix RC bugs:

  yaboot (1.3.13a-1squeeze1) testing-proposed-updates; urgency=low
  .
* Team upload.
* Get scsi, sata, and firewire drive info from sysfs as legacy /proc/scsi
  interface does not exist anymore.
  (Closes: #572869, #377097, #342833, #289201)
* Use persistent device naming symlinks, UUID and LABEL tags instead of
  unix block device names. (Closes: #580455)
* debian/copyright: Add copyright notice from ofpath.

 The package has to go thourgh t-p-u because there is a newer upstream 
 version
 already uploaded to sid.

 I'm ok to approve this upload but I prefer to have an ack from Otavio (or
 boot folks) first.
 
 Please accept it however in the yaboot case I would prefer to try to
 get a newer version into squeeze after this fix has been done. So in
 my opinion we ought:
 
  - accept the t-p-u upload;

Done.

  - get those fixes into the sid one and if it proves stable get it into 
 squeeze.

I wonder how the if part will be checked in such short timeframe.

Regards,

-- 
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d03bf19.9010...@dogguy.org



Bug#606621: Acknowledgement (mklibs-readelf: segfaults on static objects)

2010-12-11 Thread Bastian Blank
On Sat, Dec 11, 2010 at 03:51:20PM -0200, Otavio Salvador wrote:
 Do you see any better way of fixing it?

Yep, already one it.

Bastian

-- 
Ahead warp factor one, Mr. Sulu.



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101211183829.ga25...@wavehammer.waldi.eu.org



Re: Bug#606441: unblock: yaboot/1.3.13a-1squeeze1

2010-12-11 Thread Otavio Salvador
On Sat, Dec 11, 2010 at 16:12, Mehdi Dogguy me...@dogguy.org wrote:
  - get those fixes into the sid one and if it proves stable get it into 
 squeeze.

 I wonder how the if part will be checked in such short timeframe.

We can do a call for testing into debian-powerpc mailing list for it.

-- 
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
Archive: 
http://lists.debian.org/aanlktine65mqjfhpvkmmrlxr57tpxmvnc8x6emcn9...@mail.gmail.com



Bug#606515: Preseed installation does not wait for network to be ready

2010-12-11 Thread Floris Bos
Hi,

Attached a patch to netcfg that waits for the link to come up before 
proceeding.
It times out after 10 seconds, so if link detection is broken for some reason 
it doesn't affect the install.


-- 
Yours sincerely,

Floris Bos
diff -ur netcfg.orig/Makefile netcfg/Makefile
--- netcfg.orig/Makefile	2009-10-28 21:37:37.0 +0100
+++ netcfg/Makefile	2010-12-11 20:51:10.362642461 +0100
@@ -26,7 +26,7 @@
 
 all: $(TARGETS)
 
-netcfg-static: netcfg-static.o static.o
+netcfg-static: netcfg-static.o static.o ethtool-lite.o
 netcfg: netcfg.o dhcp.o static.o ethtool-lite.o
 
 $(TARGETS): $(COMMON_OBJS)
diff -ur netcfg.orig/netcfg.h netcfg/netcfg.h
--- netcfg.orig/netcfg.h	2010-09-06 23:53:19.0 +0200
+++ netcfg/netcfg.h	2010-12-11 20:10:50.761351395 +0100
@@ -41,6 +41,9 @@
 ff02::1 ip6-allnodes\n \
 ff02::2 ip6-allrouters\n
 
+/* Maximum number of seconds to wait for network link to come up */
+#define LINK_TIMEOUT  10
+
 typedef enum { NOT_ASKED = 30, GO_BACK } response_t;
 typedef enum { DHCP, STATIC, DUNNO } method_t;
 typedef enum { ADHOC = 1, MANAGED = 2 } wifimode_t;
diff -ur netcfg.orig/static.c netcfg/static.c
--- netcfg.orig/static.c	2010-12-11 20:03:12.091975462 +0100
+++ netcfg/static.c	2010-12-11 20:49:30.851349894 +0100
@@ -269,10 +269,10 @@
 
 int netcfg_activate_static(struct debconfclient *client)
 {
-int rv = 0, masksize;
+int rv = 0, masksize, tries = 0;
 char buf[256];
 char ptr1[INET_ADDRSTRLEN];
-
+
 #ifdef __GNU__
 snprintf(buf, sizeof(buf),
  settrans -fgap /servers/socket/2 /hurd/pfinet --interface=%s --address=%s,
@@ -381,6 +381,16 @@
 debconf_capb(client, backup);
 return -1;
 }
+
+di_info(Waiting for the link of interface %s to come up, interface);
+
+do {
+usleep(10); /* sleep a tenth of a second */
+if (++tries  LINK_TIMEOUT*10) {
+di_info(Link did not come up, but timeout expired, continuing...);
+break;
+}
+} while ( ethtool_lite(interface) == 2 /*DISCONNECTED*/ );
 
 return 0;
 }


Bug#606636: Reverse DNS takes precedence over netcfg/get_hostname

2010-12-11 Thread Floris Bos
On Saturday, December 11, 2010 07:31:48 am Christian PERRIER wrote:
 Correct. Apparently, though, that behaviour didn't bother anybody
 enough to look at current netcfg code and propose the needed patch

Fair enough.

Attached a patch that introduces a new netcfg/hostname option that -if set- 
takes precedence over the RDNS/DHCP hostname 
magic.


This patch has a dependency on my other bug/patch: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606515 (Preseed 
installation does not wait for network to be ready)
Because if netcfg/hostname is set, the reverse DNS check is skipped, and the 
chance is higher that the installer attempts to fetch 
the kickstart file before the network link is up  running.


-- 
Yours sincerely,

Floris Bos
diff -ur netcfg.orig1/debian/netcfg-common.templates netcfg/debian/netcfg-common.templates
--- netcfg.orig1/debian/netcfg-common.templates	2009-09-12 16:13:23.0 +0200
+++ netcfg/debian/netcfg-common.templates	2010-12-11 17:20:01.361351304 +0100
@@ -105,6 +105,12 @@
  administrator. If you are setting up your own home network, you can make
  something up here.
 
+Template: netcfg/hostname
+Type: string
+Description: Hostname that can be preseeded.
+ .
+ If specified this disables the automatic detection of the hostname by netcfg.
+
 Template: netcfg/invalid_hostname
 Type: error
 # :sl2:
diff -ur netcfg.orig1/dhcp.c netcfg/dhcp.c
--- netcfg.orig1/dhcp.c	2010-08-06 23:49:44.0 +0200
+++ netcfg/dhcp.c	2010-12-11 23:18:25.841977721 +0100
@@ -473,12 +473,19 @@
 }
 
 /*
- * Default to the hostname returned via DHCP, if any,
+ * If the netcfg/hostname preseed value is set use that
+ * Otherwise default to the hostname returned via DHCP, if any,
  * otherwise to the requested DHCP hostname
  * otherwise to the hostname found in DNS for the IP address
  * of the interface
  */
-if (gethostname(buf, sizeof(buf)) == 0
+debconf_get(client, netcfg/hostname);
+if (!empty_str(client-value))
+{
+strncpy(buf, client-value, sizeof(buf));
+debconf_set(client, netcfg/get_hostname, buf);
+}
+else if (gethostname(buf, sizeof(buf)) == 0
  !empty_str(buf)
  strcmp(buf, (none))
  verify_hostname(buf) == 0
diff -ur netcfg.orig1/static.c netcfg/static.c
--- netcfg.orig1/static.c	2010-08-06 06:32:41.0 +0200
+++ netcfg/static.c	2010-12-12 00:12:44.691551386 +0100
@@ -454,9 +464,28 @@
 GET_GATEWAY : CONFIRM;
 break;
 case GET_HOSTNAME:
-seed_hostname_from_dns(client, ipaddress);
-state = (netcfg_get_hostname(client, netcfg/get_hostname, hostname, 1)) ?
-GET_NAMESERVERS : GET_DOMAIN;
+debconf_get(client, netcfg/hostname);
+if (!empty_str(client-value)) {
+/* Copy preseeded netcfg/hostname to hostname variable and netcfg/get_hostname */
+hostname = strdup(client-value);
+debconf_set(client, netcfg/get_hostname, hostname);
+
+/* FQDN? Then set domain */
+char *s = strchr(hostname, '.');
+if (s  s[1] != '\0') {
+domain = strdup(s + 1);
+debconf_set(client, netcfg/get_domain, domain);
+have_domain = 1;
+*s = '\0';
+}
+state = GET_DOMAIN;
+
+} else {
+seed_hostname_from_dns(client, ipaddress);
+state = (netcfg_get_hostname(client, netcfg/get_hostname, hostname, 1)) ?
+GET_NAMESERVERS : GET_DOMAIN;
+}
+
 break;
 case GET_DOMAIN:
 if (!have_domain) {


Debian installer build: failed or old builds

2010-12-11 Thread Daily build aggregator
Debian installer build overview
---

Failed or old builds:

* OLD BUILD:hppa Jun 07 00:12 bui...@lafayette build_cdrom 
http://d-i.debian.org/daily-images/hppa/daily/build_cdrom.log

* OLD BUILD:hppa Jun 07 00:16 bui...@lafayette build_netboot 
http://d-i.debian.org/daily-images/hppa/daily/build_netboot.log

* OLD BUILD:hppa Jun 07 00:21 bui...@lafayette build_miniiso 
http://d-i.debian.org/daily-images/hppa/daily/build_miniiso.log

* OLD BUILD:mipsel Dec 09 00:12 bui...@rem build_cobalt_netboot-2.6_serial 

http://d-i.debian.org/daily-images/mipsel/daily/build_cobalt_netboot-2.6_serial.log

* OLD BUILD:mipsel Dec 09 00:18 bui...@rem build_cobalt_netboot-2.6_ssh 

http://d-i.debian.org/daily-images/mipsel/daily/build_cobalt_netboot-2.6_ssh.log

* OLD BUILD:mipsel Dec 09 00:20 bui...@rem build_cobalt_netboot-2.6_common 

http://d-i.debian.org/daily-images/mipsel/daily/build_cobalt_netboot-2.6_common.log

* OLD BUILD:mipsel Dec 09 00:24 bui...@rem build_malta_netboot-2.6 

http://d-i.debian.org/daily-images/mipsel/daily/build_malta_netboot-2.6.log

* OLD BUILD:mipsel Dec 09 00:29 bui...@rem build_sb1-bcm91250a_netboot-2.6 

http://d-i.debian.org/daily-images/mipsel/daily/build_sb1-bcm91250a_netboot-2.6.log

* OLD BUILD:sparc Jul 12 11:04 stapp...@dd build_cdrom 

http://people.debian.org/~stappers/d-i/sparc/daily/build_cdrom.log

* OLD BUILD:sparc Jul 12 11:08 stapp...@dd build_netboot 

http://people.debian.org/~stappers/d-i/sparc/daily/build_netboot.log

* OLD BUILD:sparc Jul 12 11:11 stapp...@dd build_miniiso 

http://people.debian.org/~stappers/d-i/sparc/daily/build_miniiso.log


Totals: 113 builds (0 failed, 11 old)


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1praif-0007xx...@ravel.debian.org



Bug#606636: Reverse DNS takes precedence over netcfg/get_hostname

2010-12-11 Thread Matthew Palmer
On Sun, Dec 12, 2010 at 01:12:19AM +0100, Floris Bos wrote:
 On Saturday, December 11, 2010 07:31:48 am Christian PERRIER wrote:
  Correct. Apparently, though, that behaviour didn't bother anybody
  enough to look at current netcfg code and propose the needed patch
 
 Fair enough.
 
 Attached a patch that introduces a new netcfg/hostname option that -if
 set- takes precedence over the RDNS/DHCP hostname magic.

Floris, I think I'm going to name my first child after you.

In the meantime, to honour your awesomeness, here's a patch for the manual
to go along with your patch.

- Matt
diff --git a/manual/en/appendix/preseed.xml b/manual/en/appendix/preseed.xml
index 7e9eff1..19a7da7 100644
--- a/manual/en/appendix/preseed.xml
+++ b/manual/en/appendix/preseed.xml
@@ -864,12 +864,18 @@ d-i netcfg/choose_interface select auto
 #d-i netcfg/get_gateway string 192.168.1.1
 #d-i netcfg/confirm_static boolean true
 
-# Any hostname and domain names assigned from dhcp take precedence over
-# values set here. However, setting the values still prevents the questions
-# from being shown, even if values come from dhcp.
+# Setting these values prevents the associated questions from being asked,
+# however if DHCP or reverse DNS lookups succeed, those results will be used
+# in favour of these options.  If you truly want to preseed a hostname, see
+# netcfg/hostname (below)
 d-i netcfg/get_hostname string unassigned-hostname
 d-i netcfg/get_domain string unassigned-domain
 
+# If you want netcfg to definitely use your preseeded hostname, rather than
+# trying to look it up via DHCP or DNS, you want to set this option.  It
+# can either be a bare hostname, or an FQDN.
+d-i netcfg/hostname string unassigned-hostname.unassigned-domain
+
 # Disable that annoying WEP key dialog.
 d-i netcfg/wireless_wep string
 # The wacky dhcp hostname that some ISPs use as a password of sorts.


Bug#606834: The partitioner of the installer on debian-squeeze-di-beta2 doesn't let me use the LVM.

2010-12-11 Thread Emmanuel Chanel
Package: installation-reports

Boot method: CD
Image version:
http://cdimage.debian.org/cdimage/squeeze_di_beta2/i386/jigdo-cd/debian-squeeze-di-beta2-i386-CD-1.jigdo
Date: Sun, 12 Dec 2010 12:36:20 +0900

Machine: FMV-6200 T5
Processor: Pentium Pro 200MHz
Memory: 64MB
Partitions: 300GB HDD. Not null... 

Output of lspci -knn (or lspci -nn):

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:  [E]
Install base system:[ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[ ]

Comments/Problems:

I want to use lvm . But the partitioner doesn't let me do that. When I
used the CD as a rescue CD of my router/server, it recognizes LVM.(I
upgraded the server from lenny to squeeze successfully.) So it's the bug
on the installation mode. Other errors, I don't find...

-- 
Emmanuel Chanel emmanuelcha...@gmail.com




-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1292126075.3050.21.ca...@star1



Re: Bug#606441: unblock: yaboot/1.3.13a-1squeeze1

2010-12-11 Thread Aurélien GÉRÔME
On Sat, Dec 11, 2010 at 03:16:38PM -0200, Otavio Salvador wrote:
 Please accept it however in the yaboot case I would prefer to try to
 get a newer version into squeeze after this fix has been done. So in
 my opinion we ought:
 
  - accept the t-p-u upload;
  - get those fixes into the sid one and if it proves stable get it into 
 squeeze.

This was also my opinion, so after seeing Mehdi's hint, I uploaded the
RC fixes to unstable.  However, the PTS indicates Unblock request by
mehdi ignored due to version mismatch: 1.3.13a-1squeeze1, so I now
wonder whether I have been too quick...  Does britney not recognize
the difference between a version in unstable and another one in t-p-u?

Cheers,
-- 
 .''`.   Aurélien GÉRÔME
: :'  :
`. `'`   Debian Developer
  `- Unix Sys  Net Admin


signature.asc
Description: Digital signature


Re: Bug#606441: unblock: yaboot/1.3.13a-1squeeze1

2010-12-11 Thread Aurélien GÉRÔME
On Sun, Dec 12, 2010 at 05:09:17AM +0100, Aurélien GÉRÔME wrote:
 This was also my opinion, so after seeing Mehdi's hint, I uploaded the
 RC fixes to unstable.  However, the PTS indicates Unblock request by
 mehdi ignored due to version mismatch: 1.3.13a-1squeeze1, so I now
 wonder whether I have been too quick...  Does britney not recognize
 the difference between a version in unstable and another one in t-p-u?

Replying to myself...  It is just the information on the PTS which
confused me, because after looking at [1], everything is fine.

# yaboot_tpu (1.3.13a-1 to 1.3.13a-1squeeze1)

* Maintainer: Debootloaders Yaboot Maintainers Team
* Ignoring block request by freeze, due to unblock request by mehdi
* Approved by mehdi
* Valid candidate

# yaboot (1.3.13a-1 to 1.3.16-1)

* Maintainer: Debootloaders Yaboot Maintainers Team
* 10 days old (needed 2 days)
* Unblock request by mehdi ignored due to version mismatch: 
1.3.13a-1squeeze1
* Not touching package due to block request by freeze (contact 
debian-release if update is needed)
* Not considered

The PTS does not print the yaboot_tpu case.  It might be worth adding
the *_tpu case to the PTS code. :]

[1] http://release.debian.org/britney/update_excuses.html
-- 
 .''`.   Aurélien GÉRÔME
: :'  :
`. `'`   Debian Developer
  `- Unix Sys  Net Admin


signature.asc
Description: Digital signature


Bug#606834: The partitioner of the installer on debian-squeeze-di-beta2 doesn't let me use the LVM.

2010-12-11 Thread Christian PERRIER
reassign 606834 rescue
thanks


 I want to use lvm . But the partitioner doesn't let me do that. When I
 used the CD as a rescue CD of my router/server, it recognizes LVM.(I
 upgraded the server from lenny to squeeze successfully.) So it's the bug
 on the installation mode. Other errors, I don't find...

So, if I understand correctly, you can't mount an LVM volume in rescue
mode. Am I right?






signature.asc
Description: Digital signature


Processed: Re: Bug#606834: The partitioner of the installer on debian-squeeze-di-beta2 doesn't let me use the LVM.

2010-12-11 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 606834 rescue
Bug #606834 [installation-reports] The partitioner of the installer on 
debian-squeeze-di-beta2 doesn't let me use the LVM.
Bug reassigned from package 'installation-reports' to 'rescue'.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
606834: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606834
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.129213820431894.transcr...@bugs.debian.org



Bug#606834: No... I can mount LVM volume in rescue mode if not by partitioner...

2010-12-11 Thread Emmanuel Chanel
  I want to use lvm . But the partitioner doesn't let me do that. When I
  used the CD as a rescue CD of my router/server, it recognizes LVM.(I
  upgraded the server from lenny to squeeze successfully.) So it's the bug
  on the installation mode. Other errors, I don't find...
 
 So, if I understand correctly, you can't mount an LVM volume in rescue
 mode. Am I right?

I have two PCs to install Debian squeeze. One(I call it #1 on this
reply) is  this FMV-6200 T5 PC. And another(#2) is a router and server
with the system HDDs on sil3124 sata2 card.(#2 is Dell Dimension 8200).
I could update #2 from lenny to squeeze successfully. And I tried to
install #1 cleanly.
And I could mount LVM volumes on #2 when I use the CD in rescue mode.

-- 
Emmanuel Chanel emmanuelcha...@gmail.com




-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1292140165.3050.40.ca...@star1