ltsp in the device name on the LTSP server causes boot to hang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Medium
|
Alkis Georgopoulos |
Bug Description
Hi!
I was preparing a LTSP server to put into service. I tried booting the server without a network cable attached and was surprised to see that the server did not boot to the login screen. I was instead presented with the following:
BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
I believe that the problem is that the ltsp in the device name confuses the ltsp boot scripts into thinking that this is an ltsp client. It then sees that it does not have a network connection and therefore cannot boot and drops to a shell.
Further information about the LTSP server:
╰─>$ lsb_release
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
╰─>$ dpkg-query -W ltsp-server
ltsp-server 5.5.5~r2703+
╰─>$ cat /proc/cmdline
BOOT_IMAGE=
╰─>$ sudo lvs
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
home henderson-ltsp -wi-ao--- 85.90g
opt henderson-ltsp -wi-ao--- 9.00g
root_file_system henderson-ltsp -wi-ao--- 13.00g
swap_1 henderson-ltsp -wi-ao--- 7.99g
tmp henderson-ltsp -wi-ao--- 2.00g
usr henderson-ltsp -wi-ao--- 10.00g
var henderson-ltsp -wi-ao--- 8.00g
╰─>$ mount
/dev/mapper/
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,
none on /sys/fs/pstore type pstore (rw)
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/sda1 on /boot type ext3 (rw)
/dev/mapper/
/dev/mapper/
systemd on /sys/fs/
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,
Funny, I finished working on this a few hours before it got reported. :) bazaar. launchpad. net/~ltsp- upstream/ ltsp/ltsp- trunk/revision/ 2735. initramfs- tools and run sudo update-initramfs -u.
Fix committed in http://
Get the modified scripts, put them in the respective places under /usr/share/