Debian Bug report logs -
#606313
ltsp-server: LTSP installation using udeb fail when booting ISO as USB stic (isohybrid)
Reported by: Petter Reinholdtsen <pere@hungry.com>
Date: Wed, 8 Dec 2010 10:33:02 UTC
Severity: important
Found in version ltsp/5.2.4-2
Fixed in version ltsp/5.5.2-1
Done: Vagrant Cascadian <vagrant@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Edu Developers <debian-edu@lists.debian.org>:
Bug#606313; Package debian-edu-install.
(Wed, 08 Dec 2010 10:33:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
New Bug report received and forwarded. Copy sent to Debian Edu Developers <debian-edu@lists.debian.org>.
(Wed, 08 Dec 2010 10:33:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: debian-edu-install
Version: 1.519
Severity: important
I just tested installing the latest squeeze-test netinst image using a
USB stick (possible thanks to the new isohybrid support), and the
installation ran into a problem with setting up LTSP. These are the
relevant log messages:
Dec 8 10:07:05 main-menu[494]: INFO: Menu item 'ltsp-client-builder' selected
Dec 8 10:07:05 ltsp-client-builder: ltsp-build-client options: --mirror file:///media/cdrom --security-mirror none --mount-cdrom --accept-unsigned-packages
Dec 8 10:07:05 ltsp-client-builder: Installing package ltsp-server-standalone in target
Dec 8 10:07:05 in-target: Leser pakkelister...
Dec 8 10:07:05 in-target:
Dec 8 10:07:05 in-target: Skaper oversikt over avhengighetsforhold...
Dec 8 10:07:05 in-target:
Dec 8 10:07:05 in-target: Leser tilstandsinformasjon...
Dec 8 10:07:05 in-target:
Dec 8 10:07:05 in-target: ltsp-server-standalone er allerede nyeste versjon.
Dec 8 10:07:05 in-target: 0 oppgraderte, 0 nylig installerte, 0 å fjerne og 0 ikke oppgradert.
Dec 8 10:07:06 in-target: Detected CD install, disabling APT repository checking.
Dec 8 10:07:06 in-target: deb cdrom:[Debian GNU/Linux 6.0+edu0~a0 _Squeeze_ - Unofficial Multi-architecture amd64/i386 NETINST #1 20101207-23:24]/ squeeze contrib local main non-free
Dec 8 10:07:06 in-target: deb http://ftp.skolelinux.org/skolelinux squeeze-test local
Dec 8 10:07:06 in-target: deb-src http://ftp.skolelinux.org/skolelinux squeeze-test local
Dec 8 10:07:06 in-target: warning: overriding kernel arthitecure to 686.
Dec 8 10:07:06 in-target: mount: /dev/sdb1 already mounted or /media/cdrom0 busy
Dec 8 10:07:06 in-target: mount: according to mtab, /dev/sdb1 is already mounted on /media/cdrom0
Dec 8 10:07:06 in-target: error: LTSP client installation ended abnormally
Dec 8 10:07:06 ltsp-client-builder: ERROR: ltsp-build-client failed to run
Dec 8 10:07:06 main-menu[494]: WARNING **: Configuring 'ltsp-client-builder' failed with error code 1
Dec 8 10:07:06 main-menu[494]: WARNING **: Menu item 'ltsp-client-builder' failed.
Dec 8 10:25:44 main-menu[494]: INFO: Modifying debconf priority limit from 'critical' to 'high'
Dec 8 10:25:44 debconf: Setting debconf/priority to high
I guess this is because the LTSP code expect the ISO to be mounted as
/dev/cdrom, while it is mounted as /dev/sdb1 instead.
Setting severity to important, as this only affect thin-client-server
profiles, but suspect it should be seen as release critical for Debian
Edu/Squeeze.
Happy hacking,
--
Petter Reinholdtsen
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Edu Developers <debian-edu@lists.debian.org>:
Bug#606313; Package debian-edu-install.
(Wed, 08 Dec 2010 16:03:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Oded Naveh <skilinux@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Edu Developers <debian-edu@lists.debian.org>.
(Wed, 08 Dec 2010 16:03:02 GMT) (full text, mbox, link).
Message #10 received at 606313@bugs.debian.org (full text, mbox, reply):
I believe this is related to Bug#540990, see Vagrant's comment at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540990#10
May also be related Skolelinux bugs:
http://bugs.skolelinux.org/show_bug.cgi?id=1341
http://bugs.skolelinux.org/show_bug.cgi?id=1456
If you agree please handle relationships.
Odd.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Edu Developers <debian-edu@lists.debian.org>:
Bug#606313; Package debian-edu-install.
(Fri, 10 Dec 2010 18:33:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@freegeek.org>:
Extra info received and forwarded to list. Copy sent to Debian Edu Developers <debian-edu@lists.debian.org>.
(Fri, 10 Dec 2010 18:33:10 GMT) (full text, mbox, link).
Message #15 received at 606313@bugs.debian.org (full text, mbox, reply):
On Wed, Dec 08, 2010 at 11:31:42AM +0100, Petter Reinholdtsen wrote:
> Dec 8 10:07:06 in-target: mount: /dev/sdb1 already mounted or /media/cdrom0 busy
> Dec 8 10:07:06 in-target: mount: according to mtab, /dev/sdb1 is already mounted on /media/cdrom0
> Dec 8 10:07:06 in-target: error: LTSP client installation ended abnormally
> Dec 8 10:07:06 ltsp-client-builder: ERROR: ltsp-build-client failed to run
> Dec 8 10:07:06 main-menu[494]: WARNING **: Configuring 'ltsp-client-builder' failed with error code 1
> Dec 8 10:07:06 main-menu[494]: WARNING **: Menu item 'ltsp-client-builder' failed.
> I guess this is because the LTSP code expect the ISO to be mounted as
> /dev/cdrom, while it is mounted as /dev/sdb1 instead.
all 099-mount-cdrom does is:
mount /media/cdrom
so if the USB stick is not configured to be mounted as /media/cdrom, then it's
not going to work.
my guess is oded is probably right about it being the same bug (#540990) as the
multiple cdrom drive issue, maybe showing up as cdrom1 or some other device
altogether.
i've never been able to navigate the relevent debconf databases that we could
actually query the right information during install time, so it's pretty much
guesswork, and will break as soon as something *slightly* unusual is happening.
it wouldn't bee too difficult to configure it to fall back to attempting to
mount additional paths if the first failed, but then you need to coordinate
that with the mirrors used as well.
live well,
vagrant
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Edu Developers <debian-edu@lists.debian.org>:
Bug#606313; Package debian-edu-install.
(Mon, 27 Dec 2010 12:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Debian Edu Developers <debian-edu@lists.debian.org>.
(Mon, 27 Dec 2010 12:03:06 GMT) (full text, mbox, link).
Message #20 received at 606313@bugs.debian.org (full text, mbox, reply):
Based on feedback from Vagrant on IRC, I was able to get the LTSP
installation working also when installing from a isohybrid USB stick.
This patch did the trick.
--- /tmp/099-mount-cdrom.orig 2010-12-27 12:55:59.000000000 +0100
+++ /tmp/099-mount-cdrom 2010-12-27 12:56:26.000000000 +0100
@@ -11,7 +11,11 @@
;;
before-install)
if [ "$MOUNT_CDROM" = "true" ]; then
- mount /media/cdrom
+ if mount /media/cdrom ; then
+ :
+ else
+ MOUNT_CDROM=false
+ fi
fi
;;
finalization)
I tried first to just add '|| true' to the mount and umount calls, but
this caused LTSP to install properly but the grub step after it to
fail. The reason was that the CD was umounted by LTSP, and apt were
unable to mount it again when grub needed to install more packages.
Given that LTSP should only umount what it mounted, I believe my patch
make more sense.
Not sure if we need to make changed LTSP packages to implement this
change in Squeeze, or if we can get away with providing our overrides.
Happy hacking,
--
Petter Reinholdtsen
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Edu Developers <debian-edu@lists.debian.org>:
Bug#606313; Package debian-edu-install.
(Mon, 27 Dec 2010 19:12:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Debian Edu Developers <debian-edu@lists.debian.org>.
(Mon, 27 Dec 2010 19:12:03 GMT) (full text, mbox, link).
Message #25 received at 606313@bugs.debian.org (full text, mbox, reply):
[Petter Reinholdtsen]
> Not sure if we need to make changed LTSP packages to implement this
> change in Squeeze, or if we can get away with providing our
> overrides.
I tested to copy the file from Debian/ to Debian-custom/ and edited
the new file. This worked just fine, and mean we can provide a
override for the cdrom mounting code in debian-edu-config if we do not
want to fix it for Squeeze in the ltsp package.
Happy hacking,
--
Petter Reinholdtsen
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Edu Developers <debian-edu@lists.debian.org>:
Bug#606313; Package debian-edu-install.
(Mon, 27 Dec 2010 21:24:12 GMT) (full text, mbox, link).
Acknowledgement sent
to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Debian Edu Developers <debian-edu@lists.debian.org>.
(Mon, 27 Dec 2010 21:24:12 GMT) (full text, mbox, link).
Message #30 received at 606313@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
On Montag, 27. Dezember 2010, pere@alioth.debian.org wrote:
> trunk/src/debian-edu-config/share/ltsp/plugins/ltsp-build-client/Debian-cus
>tom/099-mount-cdrom Modified:
> Log:
> Add workaround for bug #606313, while it isn't fixed in the
> ltsp-server package.
why is 606313 not assigned to the ltsp package then?
cheers,
Holger
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Edu Developers <debian-edu@lists.debian.org>:
Bug#606313; Package debian-edu-install.
(Mon, 27 Dec 2010 23:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Debian Edu Developers <debian-edu@lists.debian.org>.
(Mon, 27 Dec 2010 23:27:03 GMT) (full text, mbox, link).
Message #35 received at 606313@bugs.debian.org (full text, mbox, reply):
reassign 606313 ltsp-server
retitle 606313 ltsp-server: LTSP installation using udeb fail when booting ISO as USB stic (isohybrid)
found 606313 5.2.4-2
thanks
[Petter Reinholdtsen]
> I tested to copy the file from Debian/ to Debian-custom/ and edited
> the new file. This worked just fine, and mean we can provide a
> override for the cdrom mounting code in debian-edu-config if we do
> not want to fix it for Squeeze in the ltsp package.
I've added a workaround to debian-edu-config in svn (replacement
099-mount-cdrom in Debian-custom/), and confirmed that this solved the
issue.
As this bug make most sense to properly fix in the LTSP package,
either by avoiding the --mount-cdrom in the udeb or some other fix, I
reassign it there.
Happy hacking,
--
Petter Reinholdtsen
Bug No longer marked as found in versions debian-edu-install/1.519.
Request was from Petter Reinholdtsen <pere@hungry.com>
to control@bugs.debian.org.
(Mon, 27 Dec 2010 23:27:05 GMT) (full text, mbox, link).
Changed Bug title to 'ltsp-server: LTSP installation using udeb fail when booting ISO as USB stic (isohybrid)' from 'debian-edu-install: LTSP installation fail when booting ISO as USB stick'
Request was from Petter Reinholdtsen <pere@hungry.com>
to control@bugs.debian.org.
(Mon, 27 Dec 2010 23:27:06 GMT) (full text, mbox, link).
Bug Marked as found in versions ltsp/5.2.4-2.
Request was from Petter Reinholdtsen <pere@hungry.com>
to control@bugs.debian.org.
(Mon, 27 Dec 2010 23:27:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#606313; Package ltsp-server.
(Fri, 11 Apr 2014 15:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@debian.org>:
Extra info received and forwarded to list. Copy sent to LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Fri, 11 Apr 2014 15:51:04 GMT) (full text, mbox, link).
Message #48 received at 606313@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags 606313 pending
On Tue, Dec 28, 2010 at 12:22:42AM +0100, Petter Reinholdtsen wrote:
> As this bug make most sense to properly fix in the LTSP package,
> either by avoiding the --mount-cdrom in the udeb or some other fix, I
> reassign it there.
Fixed in bzr by removing --mount-cdrom from the default ltsp-build-client
options, as any remotely recent versions of debian-installer do not appear to
require it for CD installs, and it breaks USB installs to have it.
You may want to update the corresponding debian-edu code.
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Vagrant Cascadian <vagrant@debian.org>
to 606313-submit@bugs.debian.org.
(Fri, 11 Apr 2014 15:51:04 GMT) (full text, mbox, link).
Reply sent
to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility.
(Wed, 06 Aug 2014 00:09:05 GMT) (full text, mbox, link).
Notification sent
to Petter Reinholdtsen <pere@hungry.com>:
Bug acknowledged by developer.
(Wed, 06 Aug 2014 00:09:05 GMT) (full text, mbox, link).
Message #55 received at 606313-close@bugs.debian.org (full text, mbox, reply):
Source: ltsp
Source-Version: 5.5.2-1
We believe that the bug you reported is fixed in the latest version of
ltsp, which is due to be installed in the Debian FTP archive.
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 606313@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated ltsp 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@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 05 Aug 2014 16:19:36 -0700
Source: ltsp
Binary: ltsp-server ltsp-server-standalone ltsp-client-core ltsp-client ltsp-client-builder
Architecture: all source
Version: 5.5.2-1
Distribution: unstable
Urgency: medium
Maintainer: LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 606313 741143 743867 753746 753749
Description:
ltsp-client-builder - build an LTSP environment in the installer target (udeb)
ltsp-client - complete LTSP client environment
ltsp-client-core - basic LTSP client environment
ltsp-server - basic LTSP server environment
ltsp-server-standalone - complete LTSP server environment
Changes:
ltsp (5.5.2-1) unstable; urgency=medium
.
* New upstream version:
- Add support for newer versions of syslinux/pxelinux.
- Support LDM feature to hash passwords for use with
localapps and fat clients.
- ltsp-build-client: Allow setting --locale as simply the locale,
rather than requiring also specifying the encoding.
- initramfs udhcp hooks:
+ bring up NICs that become available progressively.
+ timeout for ip link up from 4 seconds to 10.
- Fix ltsp-update-image --revert.
- screen.d/kiosk: Pass KIOSK_OPTIONS as an environment variable.
(Closes: #743867)
.
* ltsp-client-core: Update syslinux/pxelinux dependencies:
- Add syslinux-common
- Remove syslinux
- Add pxelinux, with fallback for older versions of syslinux-common.
.
* ltsp-server/ltsp-client-core:
- Prefer iproute2 over iproute transitional package.
(Closes: #753746, #753749)
.
* debian/rules:
- Use dpkg-vendor --derives-from Ubuntu to set VENDOR, to better handle
Debian/Ubuntu derivatives (Closes: #741143). Thanks to Peter Green.
.
* ltsp-client-builder:
- Add "--updates-mirror none", which is needed when CD/USB sticks do not
contain an updates-mirror.
- Drop --mount-cdrom option, as it is no longer needed (Closes: #606313).
Checksums-Sha1:
241e424cfd7cbc862a6543678c2b0fb28ee218f1 2285 ltsp_5.5.2-1.dsc
d13e7b50cf43522656c386235ec3e8ae6c8e7bb5 432074 ltsp_5.5.2.orig.tar.gz
d341d45e74a19021b1a8829d572028ff3885735e 73140 ltsp_5.5.2-1.debian.tar.xz
dcc0361925282f385ea459c9af04247d01a59d8f 262198 ltsp-server_5.5.2-1_all.deb
f73369fa13c40a99316c50a9f54b18c3a3fda4d3 143820 ltsp-server-standalone_5.5.2-1_all.deb
581556f56472703e20adffbd0eb2ea6416220091 11094 ltsp-client-builder_5.5.2-1_all.udeb
Checksums-Sha256:
7550933f12ded7cd24a0d214ac3a797d25ab4c53bd4e116f7b2a66ce76fc5cf0 2285 ltsp_5.5.2-1.dsc
375d3bfc84f26680a7bf37ae5a09d52015dfcb62a58d621902fc0860860b701e 432074 ltsp_5.5.2.orig.tar.gz
9eac6dbed624b68e64efae63b4798a4626480be9774bb167043d6ee0087e778e 73140 ltsp_5.5.2-1.debian.tar.xz
78a39877ad58a927724e925d7e39e3b5bde4507c1b168329452b76bae6473fe4 262198 ltsp-server_5.5.2-1_all.deb
68cea31f1ae12f6a5a1f66d39fa5b62806ea87faa4d1bd6244816c217ab8d1e5 143820 ltsp-server-standalone_5.5.2-1_all.deb
3d40ee8e46ee910a36fee5d0d24045b3eefec2018652dd73435447d6c353a65b 11094 ltsp-client-builder_5.5.2-1_all.udeb
Files:
dc2f9aa5c59f574be9cc8a1de9062436 2285 misc extra ltsp_5.5.2-1.dsc
541348afaec1289e36108b60818b4ecd 432074 misc extra ltsp_5.5.2.orig.tar.gz
468a3b1e7e07a3838087521684c9173f 73140 misc extra ltsp_5.5.2-1.debian.tar.xz
a6616d6bd01cbe04c4fd50ca44efa1cd 262198 misc extra ltsp-server_5.5.2-1_all.deb
44833d922eb89b94e5652db48f9db6ad 143820 misc extra ltsp-server-standalone_5.5.2-1_all.deb
45f576e82b024e3a7cbcf0776c321b14 11094 debian-installer extra ltsp-client-builder_5.5.2-1_all.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJT4W+WAAoJELeLgtSBS5G2kucP/Rb9RVAjBwYVPF7UzdB6EYhu
Hbuwedd1aatu58lscdBiPETIa/wRLqoqCYY88BCpJY9okS8gCkAy5DcXp8Dvizd6
4YmskutJyBGWyNbuaVgi51fs+M1XXErOJCrky7rlh3OKXxgq9Jcvmx16YsD08MrO
Io+2Za5s3VV0iBKsT2GLd8kIxhP57pqDoGjH6EXWpCbBxy0NWnxLOe8Me3Yxtq2x
nNj/5fPQeKDioMb9Oa1GejCv0VeCNdfqZRWRF9BIri95Iqdfiax3g6EZQyc9zm5s
FbiGAc8tTgvoKOodIYKa7B5uyJHb3LKHQUywY8NYLeXRVAJJdNjN1IGQJt+aZmVa
1d8f9KHQ+zxJ2MTjfrWBlFW32KX8X7IPkxloD6qf74effJu3V7xsdm+X4cxVVZbj
pER45m9hpsaMFBwXJlIQfQTiFY/i9dc9YhP75ccI+KBtqYy5K9bNyG0NywFEXR8/
6FPbpqlHVGAZzt4lBIUGxFeVrgvmmf6NdDSn8/GWHw5BOXvPPbleANuTqEYP6w8b
CH12JIu58pQEmgEH7fefyBpzDAD9e2sL5HFiQZKAn83dPw5JAdl4ve/BoVpFkhO/
fZf8GS5F0Lua9DSna39nTJJ/V7DjHusf9+Yuo6K1fOmhbKRe3iyu+XqBIZO/hCuG
QNgVY+vlKEx0vLEfKpZm
=vwM4
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 11 Sep 2014 07:28:15 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 13:26:03 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.