← Back to team overview

mythbuntu-bugs team mailing list archive

Re: [Bug 668810] Re: can't set environment variables in startup

 

On Tue, 2010-11-16 at 21:09 +0000, Mario Limonciello wrote: 
> Brian:

Hi Mario,

> Fortunately the upstart syntax is simply sh.  You should be able to
> easily modify it to add stuff like that.

Of course, which is what I have done, but it's not quite where it should
be done.  Users should not have to edit init scripts.

> Where are the defaults for the system wide proxy stored?

That's a good question.  I don't think Ubuntu has such a concept.

> We could
> always source that file in the upstart job too.

Indeed, if it existed.

-- 
can't set environment variables in startup
https://bugs.launchpad.net/bugs/668810
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.

Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Incomplete

Bug description:
Since converting to an upstart job, the mythtv-backend start job is unable to specify environment variables to be set in the mythtv-backend process.  The example on hand is proxy setting variables.  My backend has to use a proxy in order to use the Internet and now there is no way to tell it short of hacking the upstart job itself, assuming I even understood it's syntax.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mythtv-backend 0.23.1+fixes26732-0ubuntu0+mythbuntu2
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
.var.log.mythtv.mythbackend.log: 2010-10-30 13:11:40.330 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
Architecture: i386
CrashDB: mythbuntu
Date: Sat Oct 30 13:11:54 2010
Installed_mythplugins-dbg: 0.0
Installed_mythtv-dbg: 0.0
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_CA.utf8
 SHELL=/bin/bash
SourcePackage: mythtv





References