Debian Bug report logs - #659396
ltsp-server: ltsp client fails to boot with --kiosk option

version graph

Package: ltsp-server; Maintainer for ltsp-server is Debian LTSP Maintainers <team+ltsp@tracker.debian.org>; Source for ltsp-server is src:ltsp (PTS, buildd, popcon).

Reported by: Laurent Grawet <debian-bugs@grawet.be>

Date: Fri, 10 Feb 2012 19:54:02 UTC

Severity: normal

Tags: confirmed, patch

Found in version ltsp/5.2.4-2

Fixed in version ltsp/5.3.1-1

Done: Vagrant Cascadian <vagrant@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#659396; Package ltsp-server. (Fri, 10 Feb 2012 19:54:05 GMT) (full text, mbox, link).


Acknowledgement sent to Laurent Grawet <debian-bugs@grawet.be>:
New Bug report received and forwarded. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>. (Fri, 10 Feb 2012 19:54:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Laurent Grawet <debian-bugs@grawet.be>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ltsp-server: ltsp client fails to boot with --kiosk option
Date: Fri, 10 Feb 2012 20:42:47 +0100
Package: ltsp-server
Version: 5.2.4-2
Severity: normal
Tags: patch


Hi,

"ltsp-build-client --kiosk" prevents ltsp client from booting. This is simply
because busybox is needed inside initrd. The problem is busybox package is
recommended by initramfs-tools but 
    /usr/share/ltsp/plugins/ltsp-build-client/Debian/035-kiosk
disable recommends with the line:
    APT_GET_OPTS="$APT_GET_OPTS -o APT::Install-Recommends=false"

So busybox is not installed, initrd ends up with sh (= dash) instead of
busybox and boot hangs. (take a look at /usr/share/initramfs-tools/hooks/busybox)

The bug can be fixed by forcing the installation of busybox inside 
020-kernel-selection for example. "busybox" can be appended to this line: 
   test -n "$KERNEL_PACKAGES" && LATE_PACKAGES="$LATE_PACKAGES $KERNEL_PACKAGES busybox"

But I'm wondering whether busybox shouldn't be a dependance of initramfs-tools.
There are some complex scripts running at early boot and I don't think even a
"stantdard" system is able to boot with dash instead of busybox.

Regards,

Laurent

-- Package-specific info:
chroot information: /opt/ltsp/i386
Distributor ID:	Debian
Description:	Debian GNU/Linux 6.0.4 (squeeze)
Release:	6.0.4
Codename:	squeeze

packages in chroot: /opt/ltsp/i386
ii ldm 2:2.1.2-2
ii ltsp-client 5.2.4-2
ii ltsp-client-core 5.2.4-2
ii ltspfsd 0.7-2
ii ltspfsd-core 0.7-2

found: /opt/ltsp/i386/etc/lts.conf
# This is the default lts.conf file for ltsp 5.  For more information about
# valid options please see lts.conf(5) man page, available in the ltsp-docs
# package.
#
# Note that things like sound and local device support are auto-enabled if the
# corresponding packages are installed, there is no need to manually set these
# options anymore.

[default] 
    LTSP_CONFIG=True
    #SOUND=False
    #LOCALDEV=False
    SOUND=True
    LOCALDEV=True
    LOCAL_APPS=True
    NDB_SWAP=True
    X_NUMLOCK=True
    #CONFIGURE_X=False

chroot information: /opt/ltsp/i386k
Distributor ID:	Debian
Description:	Debian GNU/Linux 6.0.4 (squeeze)
Release:	6.0.4
Codename:	squeeze

packages in chroot: /opt/ltsp/i386k
ii ldm 2:2.1.2-2
ii ltsp-client 5.2.4-2
ii ltsp-client-core 5.2.4-2
ii ltspfsd 0.7-2
ii ltspfsd-core 0.7-2

found: /opt/ltsp/i386k/etc/lts.conf
# This is the default lts.conf file for ltsp 5.  For more information about
# valid options please see lts.conf(5) man page, available in the ltsp-docs
# package.
#
# Note that things like sound and local device support are auto-enabled if the
# corresponding packages are installed, there is no need to manually set these
# options anymore.

[default] 
    LTSP_CONFIG=True
    #SOUND=False
    #LOCALDEV=False
    #CONFIGURE_X=False

found image: /opt/ltsp/images/i386k.img
/opt/ltsp/images/i386k.img: Squashfs filesystem, little endian, version 4.0, 108311707647 bytes, 30892 inodes, blocksize: 25 bytes, created: Mon Aug 29 21:37:36 2005


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ltsp-server depends on:
ii  debconf [debconf-2.0] 1.5.36.1           Debian configuration management sy
ii  debconf-utils         1.5.36.1           debconf utilities
ii  debootstrap           1.0.26+squeeze1    Bootstrap a basic Debian system
ii  gettext-base          0.18.1.1-3         GNU Internationalization utilities
ii  iproute               20100519-3         networking and traffic control too
ii  lsb-release           3.2-23.2squeeze1   Linux Standard Base version report
ii  openssh-client        1:5.5p1-6+squeeze1 secure shell (SSH) client, for sec
ii  python                2.6.6-3+squeeze6   interactive high-level object-orie
ii  tcpd                  7.6.q-19           Wietse Venema's TCP wrapper utilit
ii  update-inetd          4.38+nmu1+squeeze1 inetd configuration file updater

Versions of packages ltsp-server recommends:
ii  nbd-server            1:2.9.16-8         Network Block Device protocol - se
ii  nfs-kernel-server     1:1.2.2-4squeeze2  support for NFS kernel server
ii  openbsd-inetd [inet-s 0.20080125-6       The OpenBSD Internet Superserver
ii  openssh-server        1:5.5p1-6+squeeze1 secure shell (SSH) server, for sec
ii  squashfs-tools        1:4.0-8            Tool to create and append to squas
ii  tftpd-hpa             5.0-18             HPA's tftp server

Versions of packages ltsp-server suggests:
pn  audiooss                   <none>        (no description available)
pn  dhcp3-server | dnsmasq     <none>        (no description available)
ii  gnome-session [x-session-m 2.30.2-3      The GNOME Session Manager - GNOME 
ii  ldm-server                 2:2.1.2-2     server components for LTSP display
ii  libasound2-plugins         1.0.23-1+b1   ALSA library additional plugins
ii  ltsp-docs                  0.99+bzr115-1 LTSP Documentation
ii  ltspfs                     0.7-2         Fuse based remote filesystem for L
ii  metacity [x-window-manager 1:2.30.1-3    lightweight GTK+ window manager
pn  pulseaudio-esound-compat | <none>        (no description available)
pn  qemu-user-static           <none>        (no description available)
pn  sdm                        <none>        (no description available)
ii  x11-utils                  7.5+4         X11 utilities
ii  xauth                      1:1.0.4-1     X authentication utility

-- debconf information:
  ltsp-server/build_client: false




Information forwarded to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#659396; Package ltsp-server. (Sat, 11 Feb 2012 03:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@freegeek.org>:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>. (Sat, 11 Feb 2012 03:39:03 GMT) (full text, mbox, link).


Message #10 received at 659396@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@freegeek.org>
To: Laurent Grawet <debian-bugs@grawet.be>, 659396@bugs.debian.org
Subject: Re: Bug#659396: ltsp-server: ltsp client fails to boot with --kiosk option
Date: Fri, 10 Feb 2012 19:38:12 -0800
tags 659396 confirmed
thanks

On Fri, Feb 10, 2012 at 08:42:47PM +0100, Laurent Grawet wrote:
> "ltsp-build-client --kiosk" prevents ltsp client from booting. This is simply
> because busybox is needed inside initrd. The problem is busybox package is
> recommended by initramfs-tools but 
>     /usr/share/ltsp/plugins/ltsp-build-client/Debian/035-kiosk
> disable recommends with the line:
>     APT_GET_OPTS="$APT_GET_OPTS -o APT::Install-Recommends=false"

thanks for the bug report!

yes, the kiosk plugin needs a good deal of work...

i'd like to switch it to use nodm and maybe something that configures the 
chroot at boot time rather than statically at build time... i'll put some work 
on it in the next few days, while i'm working on the next upload.


> So busybox is not installed, initrd ends up with sh (= dash) instead of
> busybox and boot hangs. (take a look at /usr/share/initramfs-tools/hooks/busybox)
> 
> The bug can be fixed by forcing the installation of busybox inside 
> 020-kernel-selection for example. "busybox" can be appended to this line: 
>    test -n "$KERNEL_PACKAGES" && LATE_PACKAGES="$LATE_PACKAGES $KERNEL_PACKAGES busybox"
 
> But I'm wondering whether busybox shouldn't be a dependance of initramfs-tools.
> There are some complex scripts running at early boot and I don't think even a
> "stantdard" system is able to boot with dash instead of busybox.

i'd say that's really more of a problem with initramfs-tools, if it's not 
representing it's dependencies and it really can't work without busybox.


live well,
  vagrant




Added tag(s) confirmed. Request was from Vagrant Cascadian <vagrant@freegeek.org> to control@bugs.debian.org. (Sat, 11 Feb 2012 03:39:05 GMT) (full text, mbox, link).


Reply sent to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility. (Tue, 21 Feb 2012 07:06:10 GMT) (full text, mbox, link).


Notification sent to Laurent Grawet <debian-bugs@grawet.be>:
Bug acknowledged by developer. (Tue, 21 Feb 2012 07:06:10 GMT) (full text, mbox, link).


Message #17 received at 659396-close@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@debian.org>
To: 659396-close@bugs.debian.org
Subject: Bug#659396: fixed in ltsp 5.3.1-1
Date: Tue, 21 Feb 2012 07:02:15 +0000
Source: ltsp
Source-Version: 5.3.1-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:

ltsp-client-builder_5.3.1-1_all.udeb
  to main/l/ltsp/ltsp-client-builder_5.3.1-1_all.udeb
ltsp-client-core_5.3.1-1_i386.deb
  to main/l/ltsp/ltsp-client-core_5.3.1-1_i386.deb
ltsp-client_5.3.1-1_i386.deb
  to main/l/ltsp/ltsp-client_5.3.1-1_i386.deb
ltsp-server-standalone_5.3.1-1_all.deb
  to main/l/ltsp/ltsp-server-standalone_5.3.1-1_all.deb
ltsp-server_5.3.1-1_all.deb
  to main/l/ltsp/ltsp-server_5.3.1-1_all.deb
ltsp_5.3.1-1.debian.tar.gz
  to main/l/ltsp/ltsp_5.3.1-1.debian.tar.gz
ltsp_5.3.1-1.dsc
  to main/l/ltsp/ltsp_5.3.1-1.dsc
ltsp_5.3.1.orig.tar.gz
  to main/l/ltsp/ltsp_5.3.1.orig.tar.gz



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 659396@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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 20 Feb 2012 22:15:41 -0800
Source: ltsp
Binary: ltsp-server ltsp-server-standalone ltsp-client-core ltsp-client ltsp-client-builder
Architecture: source all i386
Version: 5.3.1-1
Distribution: unstable
Urgency: low
Maintainer: LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Description: 
 ltsp-client - complete LTSP client environment
 ltsp-client-builder - build an LTSP environment in the installer target (udeb)
 ltsp-client-core - basic LTSP client environment
 ltsp-server - basic LTSP server environment
 ltsp-server-standalone - complete LTSP server environment
Closes: 651727 659396
Changes: 
 ltsp (5.3.1-1) unstable; urgency=low
 .
   * New upstream release:
     - Most ltsp-build-client plugins have now been moved to ltsp-init.d
       scripts, applying at boot time instead of build time.
     - Massive rework of all our init scripts, including deprecation of
       ltsp-client-setup.
     - Better NBD handling, using the upstream NBD scripts. LTSP is now
       using named NBD mount for both root and swap.
     - Moved from a whitelist of boot services to a blacklist, please get
       in touch with upstream if you noticed something that needs
       blacklisting.
     - New improved nbd-proxy with support for named NBD mounts
       (nbd-proxy is turned off by default)
     - Improvements to ltsp-update-image including use of ionice by default.
     - Lots of fat clients improvement.
     - Proper handling of resolvconf
     - LTSP now ships /sbin/init-ltsp that's used to configure the thin
       client at boot time.
     - Improve ltsp-chroot command (it even has a manpage now).
     - Better handling of mixed NFS and NBD environment.
     - More consistent use of ltsp_config and ltsp-*-functions giving us
       a consistent environment and avoiding some delays.
     - Improved sound volume handling using udev rule instead of the old
       script.
     - Default to use NFS with a writeable aufs overlay for the entire root
       filesytem.
     - ltsp-build-client: Configure ltsp-update-image depending on type of
       installed environment to ensure running ltsp-update-image doesn't
       automatically convert from one type of network boot to another.
     - Add fat-client ltsp-build-client plugin.
     - Fix ltsp-build-client kiosk plugin to use kiosk screen
       session (Closes: #659396).
     - ltsp-build-client locales plugin: Copy /etc/default/keyboard if present.
     - Start ltsp-client-core only when an LTSP boot was requested.
     - Plenty of other fixes, thanks to everyone involved with this release!
 .
   * debian/control:
     - ltsp-client: Add dependency on rsyslog or system-log-daemon.
     - ltsp-client: Prefer freerdp-x11 over rdesktop.
     - ltsp-client-core: Add dependency on iproute, used to detect the client
       mac address.
     - ltsp-client-core: Recommend procps, used in much of the LTSP codebase.
 .
   * debian/rules:
     - Use override_dh_install for nbd-proxy and po-file installation.
     - Install nbd-client-proxy.
     - Use dh_autoreconf to call autogen.sh.
 .
    * Slovak (sk) translation of debconf messages by Slavko (Closes: #651727).
 .
    * debian/patches: Remove check-exports-d, applied upstream.
Checksums-Sha1: 
 3b0ae2c5207b5f319980166bf97ae68f8b9f95ae 2432 ltsp_5.3.1-1.dsc
 e731a8b0bfb6e8c1fbed88ce4b66eed871c79871 327096 ltsp_5.3.1.orig.tar.gz
 83a77b99f43ca1e228a8024fb28da68dff1e1fcc 80746 ltsp_5.3.1-1.debian.tar.gz
 996c2280ef835780049d7754e87c932d8da7558c 218656 ltsp-server_5.3.1-1_all.deb
 2b842f5c74a85831cd2560d2650c7bf352a8b6ba 124338 ltsp-server-standalone_5.3.1-1_all.deb
 c1832013566304706f648df9c9870c7a9804bcc4 211416 ltsp-client-core_5.3.1-1_i386.deb
 015eb7057c34eaf69c712e30a7e14df4f25e55c6 123498 ltsp-client_5.3.1-1_i386.deb
 03ad30bc9aaddf30af07c3b68953f02a46ba887f 9796 ltsp-client-builder_5.3.1-1_all.udeb
Checksums-Sha256: 
 9ba9915cfe4f5a21a1cf49774db80f1b25b7c0ded776293b79433058c4af1282 2432 ltsp_5.3.1-1.dsc
 d6962c064835f7b9cc046bff0d0cae8ec9319e096bc47123686740040a37285b 327096 ltsp_5.3.1.orig.tar.gz
 75f140ebb1d2a4adeb4402502799ab7fff5fa09e0a9ff097323e7ed7660f66be 80746 ltsp_5.3.1-1.debian.tar.gz
 602d7d4d48a3c57cdb8356349cb74a1b2ae99201b49f2b2fbc9d1c5b1b655074 218656 ltsp-server_5.3.1-1_all.deb
 8858a97af9bf91572a8c1262a42508ebd2e90d0f8e85361f5e718e87a1fcff34 124338 ltsp-server-standalone_5.3.1-1_all.deb
 09159c57adfc9a661aec15aff24bf5c86be1e2d1d31c0ccd7435bec688e65792 211416 ltsp-client-core_5.3.1-1_i386.deb
 d1c995ad4c439f2e90addc19ca047ccc2b2c36eac24e197ff9f3d7dda4c29eff 123498 ltsp-client_5.3.1-1_i386.deb
 e346130e747d9d12f2b3ab1c71de5ff35d5f0d3ac50a7470efdf81be8fc6aa0e 9796 ltsp-client-builder_5.3.1-1_all.udeb
Files: 
 c48b526b556377a34f1a572a2fa2b86b 2432 misc extra ltsp_5.3.1-1.dsc
 83a3bb0a0a300bf83dfc140765c8a61c 327096 misc extra ltsp_5.3.1.orig.tar.gz
 a36e4e898642d30764e16ef77f075c2f 80746 misc extra ltsp_5.3.1-1.debian.tar.gz
 06ab8875daed56645f0d44c8f928e857 218656 misc extra ltsp-server_5.3.1-1_all.deb
 8e9bda241211d44eb76ab608cf7a1156 124338 misc extra ltsp-server-standalone_5.3.1-1_all.deb
 9720153db379bc7bcc43187b7ca334f1 211416 misc extra ltsp-client-core_5.3.1-1_i386.deb
 ca63758f370cfc49c5e771500121038f 123498 misc extra ltsp-client_5.3.1-1_i386.deb
 133671c57732ba7194affb8d11379fdc 9796 debian-installer extra ltsp-client-builder_5.3.1-1_all.udeb
Package-Type: udeb

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

iQIcBAEBAgAGBQJPQzyDAAoJELeLgtSBS5G2jVwP+weAxZ0gOpJ2V7kZOUiS/POd
baUpSVRhPAYjWeNejpBkKRpCBfMc2dUVFKZrNHiBxhwYurPVLzKb5p6SsMJ1VnI/
lFiUKQpXMWNTPDGpVZQs2hROV5h33D1LWa0O6np+du2nZ6rEx+B/Gy1SIgIh+v3p
h6mk7SmJYKELKc/fjELAwJMM4kKDbtCaQLO533+savsYFvd4RjzRokDS2sXmUIbM
eSSFDnKy0DpOWBUkwPTAMXFzwZAu9bRVYHpqlf/j7yYrgPTGaQEuJIzWPrmrxlO/
HalVjOqmz+YjI3CCccYtuqXE54ixrVTB5LrRkUEYF3hRGtbdbZmM0z5aENVf1eMT
REM5b4ehrXHfXRS46hJ9Tvwu0yS4zevx3yDYNwWtIs2mqCcDaV31voqqSC1IjrX2
wBwto3ya6Jjjv+Vi5vRFyPA0g+NZU0p2iIBdFdwxOtiMa/Qv9QSj9Ga/q3x6NP8H
hauI7Y8w4UC6wakndqN8I78bleyuhB9ReDI9c4KvgQnH37pAPkKj0dqcJU9mAwEB
5WOjXJBNXDMLpo8U1qj/N71oUX+MrEi7krf+93Egav+iNUKxa5OQ6fZQNTh5jpxN
j9sQLg+dyzC5Q9LyCX3b1kbfa561Dv9FWZvxHdouVhtpL3MePDpBt7WHfuQJir5B
PB4W90MzD1uETdLKImq8
=mpR/
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 30 Mar 2012 07:38:11 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:42:01 2023; Machine Name: buxtehude

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.