Public bug reported: In a fully updated (2010/01/11) Lucid chroot, I get an ldm segfault when I try to enter my username/password. That's probably because `echo $SERVER` returns "10.160.31.10\n10.160.31.10" (note the enter there). The SERVER variable is set by ltsp_config, and the problem originates in this line: server=$(pgrep -f -l $DEVICE | awk '{print $3}') In my system, with DEVICE=/dev/nbd0, this pgrep returns two matches: 230 nbd-client 10.160.31.10 2000 /dev/nbd0 232 nbd-client 10.160.31.10 2000 /dev/nbd0
A quick hack would be to include a `head -n 1` there (or use sed/q instead of awk/head), but I don't think two nbd-clients should be there in the first place... ** Affects: ltsp (Ubuntu) Importance: Undecided Status: New -- nbd-client /dev/nbd0 is ran twice, causing ldm to segfault https://bugs.launchpad.net/bugs/505787 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs