[Pkg-ltsp-devel] Bug#440856: ltsp-server: Missing config settings in the chroot; keyboard layout is most important

Bryan Sutula Bryan.Sutula at hp.com
Tue Sep 4 21:05:09 UTC 2007


Package: ltsp-server
Version: 5.0.8debian3
Severity: normal

After apt-get install ltsp-server, I try to execute ltsp-build-client.  It
completes, but the created chroot is missing some of config settings.  The
most important is the keyboard layout.  Without this, the clients fail to
boot into X.  dexconf returns an error saying that the keyboard layout is
missing.

I've worked around this by adding the layout option to lts.conf:

        XKBLAYOUT       = us

While trying to understand this behavior, I noticed that the chroot doesn't
have the correct timezone (fixed this with "dpkg-reconfigure tzdata" in the
chroot).  I suspect that any other settings that were to be copied from the
server are missing as well.

Just a shot in the dark, but could this be for the same reason as bug
#440854?  Could ltsp-build-client be executing code that tries to preseed
debconf values without the "-e" option?

-- Package-specific info:
packages in chroot: /opt/ltsp/i386
ii  initramfs-tools          0.85h                    tools for generating an initramfs
ii  ldm                      5.0.8debian3             LTSP display manager
ii  ltsp-client              5.0.8debian3             LTSP client environment
lts.conf from chroot: /opt/ltsp/i386
#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#
# Example modified for use with a version of getltscfg that supports the
# us of "inlcude" statements within the lts.conf file. 
# Typical use is in multiple server environments for LTSP where you wish
# to have a separate "SERVER" definition for each server, and the same 
# "WORKSTATIONS" defined for all servers. In this case you would define the 
# main server settings in lts.conf on each server and copy the included 
# lts.conf.stations to all servers. 
# [Default]
#        # IP address of the LTSP server
#        SERVER          = 172.16.6.131
#        NFS_SERVER      = 172.16.6.131
#        SYSLOG_HOST     = 172.16.6.131
#        XFS_SERVER      = 172.16.6.131
#        DNS_SERVER      = 172.16.7.10
#        SEARCH_DOMAIN   = "ltspnet.net"
#        # Video drivers for the terminals
#        XSERVER            = auto
#        (you may include any other DEFAULTS for WORKSTATIONS or put them 
#        into the lts.conf.stations file. This included file can have any
#        name but be sure to make the path relative to the LTSP WORKSTATION
#	 ROOT)
#include /etc/lts.conf.stations
#
#


# These are additions for the Sutula household.  After this, the original
# examples follow
#
[Default]
	DNS_SERVER      = 192.168.1.100
	SEARCH_DOMAIN   = "sutula.org"
	SOUND		= True
	SOUND_DAEMON	= pulse
	XKBLAYOUT	= us
	X_HORZSYNC	= "30-75"
	X_VERTREFRESH	= "43-72"
	SCREEN_07	= startx
#	LDM_DIRECTX	= True		# This, to skip compression if using
					# ldm instead of startx
#	X_MODE_0	= 1280x1024
#	X_MODE_1	= 1024x768
#	X_MODE_2	= 800x600
#	NBD_SWAP	= Y

#[thin1]				# This form doesn't seem to work
[192.168.1.131]
	SCREEN_07	= startx

#[thin2]				# This form doesn't seem to work
[192.168.1.132]
	SCREEN_07	= startx

#[thin3]				# This form doesn't seem to work
[192.168.1.133]
	SCREEN_07	= startx

#[thin4]				# This form doesn't seem to work
[192.168.1.134]
	SCREEN_07	= startx

#[thin5]				# This form doesn't seem to work
[192.168.1.135]
	SCREEN_07	= startx

#[delli]				# This form doesn't seem to work
[192.168.1.121]
	SCREEN_07	= startx
#	X_HORZSYNC	= "30-75"
#	X_VERTREFRESH	= "50-60"

#[cheetah]				# This form doesn't seem to work
[192.168.1.123]
	SCREEN_07	= startx
#
# End of Sutula additions


#[Default] XSERVER            = auto
#        SERVER             = 192.168.101.254
#	X_MOUSE_PROTOCOL   = "PS/2"
#        MODULE_01          = "sb irq=10 io=0x300"
#	X_MOUSE_DEVICE     = "/dev/psaux"
#	X_MOUSE_RESOLUTION = 400
#	X_MOUSE_BUTTONS    = 3
#	USE_XFS            = N
#	LOCAL_APPS         = N
#        RUNLEVEL           = 5

#------------------------------------------------------------------------------
#
# ws004 is my virtual workstation running in a VMware session
#
#[ws004]
#        DNS_SERVER	   = 192.168.101.254
#        XSERVER		   = auto
#        X4_BUSID           = "PCI:0:15:0"
#        X_MODE_0           = 800x600 48.002 800 832 928 1024 600 604 608 624 -HSync -VSync
#	USE_XFS            = Y
#
#        SCREEN_01          = remote_x
#        SCREEN_02          = remote_x
#        SCREEN_03          = remote_x
#        SCREEN_04          = shell 

#---------------9--------------------------------------------------------------
#
# Example of specifying X settings for a workstation
#
#[ws001]
#        LIKE               = ws002
#        XSERVER            = auto
#        LOCAL_APPS         = N
#        USE_NFS_SWAP       = Y
#        SWAPFILE_SIZE      = 48m
#        RUNLEVEL           = 5

#[192.168.101.254]
#        RUNLEVEL           = 2

#[ws002]
#        LIKE               = ws004
#        XSERVER            = XF86_SVGA
#        LOCAL_APPS         = N
#        USE_NFS_SWAP       = Y
#        SWAPFILE_SIZE      = 64m
#        RUNLEVEL           = 3

#------------------------------------------------------------------------------
#
# Example of a workstation configured to load some modules
#
#[ws001]
#    MODULE_01       = agpgart.o		# This is for i810 video
#    MODULE_02       = uart401.o
#    MODULE_03       = sb.o io=0x220 irq=5 dma=1
#    MODULE_04       = opl3.o

#------------------------------------------------------------------------------
#
# Example of ws001 configured for local apps
#
#[ws001]
#    LOCAL_APPS      = Y
#    LOCAL_WM        = Y
#    NIS_DOMAIN      = ltsp
#    NIS_SERVER      = 192.168.0.254

#------------------------------------------------------------------------------
#
# Example of a serial printer attached to /dev/ttyS1 on workstation ws001
#
#[ws001]
#    PRINTER_0_DEVICE   = /dev/ttyS1
#    PRINTER_0_TYPE     = S		# P-Parallel, S-Serial
#    PRINTER_0_PORT     = 9100		# tcp/ip port: defaults to 9100
#    PRINTER_0_SPEED    = 9600		# baud rate: defaults to 9600
#    PRINTER_0_FLOWCTRL = S		# Flow control: S-Software (XON/XOFF),
#					# H-Hardware (CTS/RTS)
#    PRINTER_0_PARITY   = N		# Parity: N-None, E-Even, O-Odd
#					# (defaults to 'N')
#    PRINTER_0_DATABITS = 8		# Databits: 5,6,7,8 (defaults to 8)


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages ltsp-server depends on:
ii  debconf [debconf-2.0]  1.5.11            Debian configuration management sy
ii  debconf-utils          1.5.11            debconf utilities
ii  debootstrap            0.3.3.2etch1      Bootstrap a basic Debian system
ii  gettext-base           0.16.1-1          GNU Internationalization utilities
ii  iproute                20061002-3        Professional tools to control the 
ii  lsb-release            3.1-23.2etch1     Linux Standard Base version report
ii  nbd-server             1:2.8.7-4         the Network Block Device server
ii  nfs-kernel-server      1:1.0.10-6+etch.1 Kernel NFS server support
ii  openbsd-inetd [inet-su 0.20050402-6      The OpenBSD Internet Superserver
ii  openssh-client         1:4.3p2-9         Secure shell client, an rlogin/rsh
ii  python                 2.4.4-2           An interactive high-level object-o
ii  ssh                    1:4.3p2-9         Secure shell client and server (tr
ii  tcpd                   7.6.dbs-13        Wietse Venema's TCP wrapper utilit
ii  tftpd-hpa              0.43-1.1          HPA's tftp server
ii  update-inetd           4.27-0.5          inetd.conf updater

Versions of packages ltsp-server recommends:
ii  openssh-server                1:4.3p2-9  Secure shell server, an rshd repla
ii  ssh                           1:4.3p2-9  Secure shell client and server (tr

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




More information about the Pkg-ltsp-devel mailing list