There is also a hang when caused by grep when $IMAGE is not set :

# bash -x /usr/sbin/ltsp-update-image
[...]
++ grep /etc/inetd.conf
++ grep -v '^#'
[hang here]

The problem is :

---> if [ -n "$(grep ${IMAGE} /etc/inetd.conf|grep -v "^#")" ];then

Then, if $IMAGE is empty, the first grep waits for input

The architecture I use is i386, but I renamed the directory i386 to
i386-dev for development purpose. Image are not generated until I set
the CHROOT variable.


The hang could be avoided if variables were validated.

-- 
[gutsy] ltsp-build-client hangs 
https://bugs.launchpad.net/bugs/127332
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to