[Pkg-ltsp-devel] Bug#589820: sleep: invalid number '0.1'
Sébastien Ducoulombier
seb+bugs.debian.org at ldd.fr
Wed Jul 21 12:05:47 UTC 2010
Package: ltsp-client-core
Version: 5.2.3-1
Severity: normal
At X terminal boot, busybox is used in the initrd.img to interpret boot scripts.
busybox's implementation of "sleep" only accepts integers.
Therefore, in /usr/share/initramfs-tools/scripts/init-premount/udhcp, "sleep 0.1" fails with this error message :
sleep: invalid number '0.1'
I suggest replacing it with "sleep 1" as a quick fix.
Please find the attached patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ltsp-client-core depends on:
ii console-setup 1.51 console font and keymap setup prog
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii initramfs-tools 0.97.2 tools for generating an initramfs
ii kbd 1.15.1-3 Linux console font and keytable ut
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libx11-6 2:1.3.3-3 X11 client-side library
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii lsb-release 3.2-23.1 Linux Standard Base version report
ii mkelfimage 2.7-7 utility to create ELF boot images
ii nbd-client 1:2.9.15-3 Network Block Device protocol - cl
ii python 2.6.5-5 An interactive high-level object-o
ii syslinux 2:4.01+dfsg-1 collection of boot loaders
ii tftp-hpa 5.0-14 HPA's tftp client
ltsp-client-core recommends no packages.
Versions of packages ltsp-client-core suggests:
ii alsa-utils 1.0.23-2 Utilities for configuring and usin
ii cryptsetup 2:1.1.2-1 configures encrypted block devices
ii cups-bsd 1.4.4-1 Common UNIX Printing System(tm) -
ii inputattach 20051019-9 utility to connect serial-attached
ii ldm 2:2.1.2-1 LTSP display manager
ii libasound2-plugins 1.0.23-1 ALSA library additional plugins
ii ltspfsd 0.6-1 Fuse based remote filesystem hooks
ii mdetect 0.5.2.3 mouse device autodetection tool
ii netcat-traditional [ne 1.10-38 TCP/IP swiss army knife
ii ntpdate 1:4.2.6.p1+dfsg-1 client for setting system time fro
ii numlockx 1.1-10 enable NumLock in X11 sessions
ii pulseaudio 0.9.21-3 PulseAudio sound server
ii pulseaudio-esound-comp 0.9.21-3 PulseAudio ESD compatibility layer
ii python-serial 2.3-1 pyserial - module encapsulating ac
ii rdesktop 1.6.0-3 RDP client for Windows NT/2000 Ter
ii sane-utils 1.0.21-2 API library for scanners -- utilit
pn sdm-terminal | x-displ <none> (no description available)
ii sshfs 2.2-1 filesystem client based on SSH Fil
-- debconf information:
ltsp-client/abort-installation:
-------------- next part --------------
--- udhcp.orig 2010-07-21 13:21:52.324973006 +0200
+++ udhcp 2010-07-21 13:22:43.404972542 +0200
@@ -54,7 +54,7 @@
# TODO: Find a better way. Setting PREREQs="udev", accessing /proc/net/dev,
# calling ifconfig or ipconfig... something better than calling sleep
while ! ip link show > /dev/null 2>&1; do
- sleep 0.1
+ sleep 1
done
sleep 1
@@ -68,7 +68,7 @@
for i in $interfaces; do
ip link set $i up
done
-sleep 0.1
+sleep 1
}
# Analyze whatever information was provided in the kernel command line
More information about the Pkg-ltsp-devel
mailing list