[Pkg-ltsp-devel] Bug#659396: ltsp-server: ltsp client fails to boot with --kiosk option
Laurent Grawet
debian-bugs at grawet.be
Fri Feb 10 19:42:47 UTC 2012
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
More information about the Pkg-ltsp-devel
mailing list