[Pkg-ltsp-devel] Bug#403471: Bug in the handling of boolean settings retrieved from lts.conf

Miro Zhorelicky mzh at mail.t-com.sk
Sun Dec 17 12:52:28 UTC 2006


Package: ldm
Version: 0.99debian8
Severity: important
Tags: patch

I tried to set up sound support by setting SOUND = Y in the lts.conf, and 
the ESPEAKER environment variable was not sent to the server.

The bug is in the /usr/sbin/ldm executable. This is the patch:

tiger:/usr/sbin# diff -u ldm.orig ldm
--- ldm.orig    2006-11-15 22:11:33.000000000 +0000
+++ ldm 2006-12-16 21:43:00.000000000 +0000
@@ -16,8 +16,9 @@

 def get_config_bool(name):
     val = os.environ.get(name)
+
     if val:
-        val == val.lower()
+        val = val.lower()
     else:
         return False
     if val == 'y' or val == 'yes' or val == 'true':





More information about the Pkg-ltsp-devel mailing list