Bug#618547: laptop-mode-tools: Broken behaviour in 1.57-1

2011-03-17 Thread Francis Russell
On Thu, 17 Mar 2011 17:07:04 +0530, Ritesh Raj Sarraf wrote: That must have been inherited from udev or acpid's environment. OK, I'll have a look and file a bug against the appropriate package when I have time. Francis -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.or

Bug#618547: laptop-mode-tools: Broken behaviour in 1.57-1

2011-03-17 Thread Ritesh Raj Sarraf
On 03/17/2011 05:02 PM, Francis Russell wrote: > OK, but somehow HOME is getting set to "/" non-deterministically inside > the laptop-mode-tools script. That must have been inherited from udev or acpid's environment. -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mo

Bug#618547: laptop-mode-tools: Broken behaviour in 1.57-1

2011-03-17 Thread Francis Russell
Ritesh Raj Sarraf wrote: > We pass no strange environment variables. All that we need is set inside > the tool itself. > We run in 'sh' compliant mode and we run as a non-login shell. > > In laptop-mode, I can't house an environment for every foreign command > that can be run. That's why I gave yo

Bug#618547: laptop-mode-tools: Broken behaviour in 1.57-1

2011-03-17 Thread Ritesh Raj Sarraf
On 03/17/2011 04:11 PM, Francis Russell wrote: > So I suppose it is the exec-commands module despite the fact that the > commands are currently specified in the lcd conf file. > > I would imagine that there's no requirement for one application > executing another to set the HOME environment variabl

Bug#618547: laptop-mode-tools: Broken behaviour in 1.57-1

2011-03-17 Thread Francis Russell
Ritesh Raj Sarraf wrote: > On 03/17/2011 05:28 AM, Francis Russell wrote: >> OK, after an extremely long and painful debugging session, I finally >> worked out what was going on, which was a combination of >> non-deterministic and slightly broken behaviour of laptop-mode-tools and >> a bug in nvclo

Bug#618547: laptop-mode-tools: Broken behaviour in 1.57-1

2011-03-16 Thread Francis Russell
OK, after an extremely long and painful debugging session, I finally worked out what was going on, which was a combination of non-deterministic and slightly broken behaviour of laptop-mode-tools and a bug in nvclock. So, I was having laptop-mode-tools call nvclock to change the brightness settings

Bug#618547: laptop-mode-tools: Broken behaviour in 1.57-1

2011-03-16 Thread Ritesh Raj Sarraf
On 03/16/2011 02:21 PM, Francis Russell wrote: > Since updating to 1.57-1, I've been observing strange behaviour from > laptop-mode tools. For example, when unplugging the power, sometimes it > will call the brightness changing command, sometimes not. Same with > plugging thw power back in. > > Deb

Bug#618547: laptop-mode-tools: Broken behaviour in 1.57-1

2011-03-16 Thread Francis Russell
Package: laptop-mode-tools Version: 1.57-1 Severity: important Since updating to 1.57-1, I've been observing strange behaviour from laptop-mode tools. For example, when unplugging the power, sometimes it will call the brightness changing command, sometimes not. Same with plugging thw power back i