[Lcdproc] Lcdexec: SHELL environment variable not set

Michelle Dupuis support@ocg.ca
Thu Feb 8 19:04:01 2007


I made the change and it now works.  I don't know how to use the diff/patch
tools.  If you want to send me a few commands I'd be happy to submit the
changes.

I submitted some changes last Nov (2006) regarding the RPM start scripts
that never made it into the core

-----Original Message-----
From: lcdproc-admin@lists.omnipotent.net
[mailto:lcdproc-admin@lists.omnipotent.net] On Behalf Of Peter Marschall
Sent: Thursday, February 08, 2007 1:44 PM
To: lcdproc@lists.omnipotent.net
Subject: Re: [Lcdproc] Lcdexec: SHELL environment variable not set

Hi,

On Tuesday, 6. February 2007 17:15, Michelle Dupuis wrote:
> I'm starting to answer my own question here....but I see that the
"service"
> script in FC6 launches another script as follows:
>
> env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}"
> start
>
> The "-i" forces an empty environment.  That's why it's failing.  This 
> means that lcdexec can never be started as a service.  That seems like 
> a bad design....
>
> Peter - any changes planned for lcdexec that might affect this?  Seems 
> like a simple fix...
Is it ?
Patches welcome.

It's already in the CVS since 22nd of October 2006 (not the 0.5.x stable but
MAIN)

Browse through lcdexec.conf and look for Shell.

Peter

--
Peter Marschall
peter@adpm.de
_______________________________________________
LCDproc mailing list
LCDproc@lists.omnipotent.net
http://lists.omnipotent.net/mailman/listinfo/lcdproc