[vdr] RFC: Set environment variables after switching user (Patch included)

Manuel Reimer manuel.reimer at gmx.de
Wed Mar 13 17:18:57 CET 2013


depending on the init system and the way, how it is configured, scripts, 
executed by VDR, either have variables like "HOME" unset or still set to 
"/root". This is useless for scripts or other external software, called by VDR.

My small patch sets the common environment variables to the correct values for 
the VDR "runtime user". This fixes many problems with all kinds of external 
software, called by VDR (ProjectX or even Firefox via "externalplayer" to browse 
the web on your TV).

Would be great if this small change could still make it into 2.0.


Manuel Reimer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.7.40-setenv.diff
Type: text/x-diff
Size: 1206 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20130313/b50e76a8/attachment.diff>

More information about the vdr mailing list