[cups.general] [patch] preserve another environment variable in backends

Jerome Alet alet at librelogiciel.com
Fri Aug 13 09:52:10 PDT 2004


On Fri, Aug 13, 2004 at 03:50:35PM +0100, Tim Waugh wrote:
> 
> Here is a patch to preserve DBUS_SESSION_BUS_ADDRESS in the
> environment when spawning a backend.  This is needed for a project we
> are working on in which cupsd runs as part of the user session.

Why not send a patch which would allow a list of environment
variables to be preserved be set in cupsd.conf, something like 

EnvPreserve DBUS_SESSION_BUS_ADDRESS,...

and also :

EnvAdd JOB_ORIGNATING_HOSTNAME,...

to have CUPS fill some additionnal environment variables

Would help a lot !

thx

Jerome Alet





More information about the cups mailing list