mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #03992
Re: [Bug 708643] Re: /etc/init/mythtv-backend needs to source /etc/default/mythtv-backend
On Thu, 2011-01-27 at 17:03 +0000, Mario Limonciello wrote:
> We no longer ship an /etc/default/mythtv-backend.
Yes, that is sounding familiar now.
> The preferred method
> now is to just make changes directly to the upstart job to match your
> environment.
That's a pain to have to do. Why should I have to interact with package
installation when there is a solution to avoid it completely, 100% of
the time?
> It shouldn't be changing very frequently, so don't expect
> to have to do merges commonly.
Well, I just had to merge it yet again.
But I say again, if you just apply the patch I supplied nobody will
every have to merge ever again. Doesn't this make more sense from a
packaging and administration perspective?
The solution I am proposing is completely benign to those that don't use
it and is a net positive to those that do. Why are you resisting it?
What harm is caused by applying it?
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/708643
Title:
/etc/init/mythtv-backend needs to source /etc/default/mythtv-backend
Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
Won't Fix
Bug description:
I thought I had reported this once before but I could not find any
sign of it. Perhaps I just discussed it in IRC or something.
In any case, the backend initscript needs to source /etc/default
/mythtv-backend as it did previously when it was an /etc/init.d/
initscript.
The reason is that some people might need to set some environment that
will affect the backend process, such as, for example:
# need to set the proxy for mythfilldatabase
export http_proxy=http://proxy:3128/
It's a simple one line change:
--- /etc/init/mythtv-backend.conf.new 2010-12-30 19:00:10.000000000 -0500
+++ /etc/init/mythtv-backend.conf 2010-11-17 07:29:58.000000000 -0500
@@ -19,6 +19,7 @@
end script
script
+ . /etc/default/mythtv-backend
test -f /etc/default/locale && . /etc/default/locale || true
LANG=$LANG /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log --user mythtv
end script
In the case of people who have no need for it, the above change is
benign, but for people who do need it, it's very useful, so there
really should be no reason to resist it.
Follow ups
References