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

cdebconf gets confused?



I've been toying about with rootskel, doing things like this:

--- src/sbin/debian-installer   26 Jan 2003 13:36:14 -0000      1.9
+++ src/sbin/debian-installer   15 Feb 2003 10:48:52 -0000
@@ -22,4 +22,5 @@
     done
 fi

+/usr/share/debconf/frontend /sbin/di-init
 /usr/share/debconf/frontend /usr/bin/main-menu


And di-init looks like this:

#!/bin/sh

. /usr/share/debconf/confmodule

db_set debconf/priority high

/usr/bin/udpkg --configure cdrom-detect
/usr/bin/udpkg --configure cdrom-retriever
/usr/bin/udpkg --configure anna

db_set debconf/priority medium


I.e. what I want to do is try to configure these things and then going
to the menu. When I boot from the image I get from this, I get


(Reading database...)
Can't open file '/usr/share/discover/pci.lst' for reading!
...
VMware Virtual IDE CDROM Drive

Linux IDE-SCSI emulation layer
kmod: ...
...
(Updating database...)
(Reading database...)
(Updating database...)
(Reading database...)
CAPB backup

Then it hangs.

Somewhere there's a deadlock (and installing strace and testing debconf
and anna confirms this) but I don't understand why and where. Could it
be a timing problem?

I know that Thorsten has had problems with the progress bars in
cdrom-checker, that something hangs. I wonder if it's the same problem.


/Martin

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


Reply to: