[Pkg-ltsp-devel] Bug#540990: ltsp-client-builder failed on a system with two optical drives.

Vagrant Cascadian vagrant at freegeek.org
Mon Oct 19 01:28:00 UTC 2009


On Tue, Aug 11, 2009 at 10:19:51AM +0300, Oded Naveh wrote:
> Installing from:
> Debian GNU/Linux 5.0r0+edu0~a0 _Lenny_ - Unofficial i386 CD700 Binary-1 20090316-20:49 (with ltsp-client-builder 5.1.10-2)
> on a system with two optical drives failed at 'ltsp-client-builder' from secondary master, succeeded from secondary slave.
> 
> -- The failing syslog says:
> Mar 16 12:42:10 main-menu[1376]: INFO: Menu item 'ltsp-client-builder' selected
> Mar 16 12:42:10 ltsp-client-builder: ltsp-build-client options: --mirror
> file:///cdrom --security-mirror none --mount-cdrom Mar 16 12:42:13 in-target:
...snip...
> Mar 16 12:42:16 in-target: 0 ????????, 0 ??????? ?????, 0 ????? ?-0 ?? ???????.
> Mar 16 12:42:16 kernel: [18984.015713] ISO 9660 Extensions: Microsoft Joliet
> Level 3 Mar 16 12:42:16 kernel: [18984.176248] ISO 9660 Extensions: RRIP_1991A
> Mar 16 12:42:17 load-install-cd: umount: cannot umount /target/cdrom/: Invalid
> argument Mar 16 12:42:17 kernel: [18984.856022] ISO 9660 Extensions: Microsoft
> Joliet Level 3 Mar 16 12:42:17 kernel: [18985.036084] ISO 9660 Extensions:
> RRIP_1991A Mar 16 12:42:17 ltsp-client-builder: Passing keymap hebrew on to
> LTSP Mar 16 12:42:25 in-target: Detected CD install, disabling APT repository
> checking.
> Mar 16 12:42:28 in-target: mount: /dev/hdc already mounted or /media/cdrom0
> busy Mar 16 12:42:28 in-target: error: LTSP client installation ended

i don't currently have a machine to test this, if you still have one handy,
could you check a few things?

the LTSP plugin that handles the CD mounting is rather stupid, assuming that
/cdrom is the only location for a valid CD-ROM. 

what links are present? /media/cdrom, /media/cdrom0, /media/cdrom1 ? are they
mounted in /target/media/ ? is there a symlink from /target/cdrom and/or
/target/cdrom0 ? 

we could try and look at a few more locations to make make the code
incrementally smarter, but this will of course fail if debian-installer changes
the mount location(s).

ideally, we could look into the debian-installer's debconf db and ask a few
questions about the proper location of the install media, if we knew which
questions to even ask. last time i looked, it was a confounding maze of
questions; perhaps it has improved more recently.

live well,
  vagrant





More information about the Pkg-ltsp-devel mailing list