[mythtv-users] "Unable to find mythcommflag" in 0.17

Frank Riley fhriley at yahoo.com
Sat Apr 9 18:17:34 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mythtv-users.mythtv.org at tgice.com wrote:
> David George wrote:
> 
>> If you are running a RedHat/Fedora based system (and possibly others)
>> the PATH is reset in /etc/init.d/functions.  Look for a line near the
>> top that looks like this:
>> PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
>>
>> Add the following to /etc/sysconfig/mythbackend:
>>
>> PATH=$PATH:/usr/local/bin
>>
>> Of course there are several other solutions also.
> 
> 
> This solved my problem.  In Gentoo's /etc/init.d/functions.sh, around
> line 749 (inside the 'if [ -z "${EBUILD}" ]' block, there's a PATH set
> there (the only PATH set in the whole file)).  If I tack on a
> /usr/local/bin, like this:
> 
> PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:${PATH}"
> 
> My mythcommflag now is correctly spawned from mythbackend (from how I
> understand it works).
> 
> Thanks for all of your help, and I apologize if I did miss an obvious
> solution to this elsewhere in the mailling list.

You shouldn't be modifying anything in init.d. Put

PATH=$PATH:/usr/local/bin

in /etc/conf.d/mythbackend.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCWBw+91+pr0EM9zgRAn3GAKCZQBT5MrE8kdoWcDoFW3QcADQuuACeOVsA
RQponXRUsax2gxao464jiv0=
=00lj
-----END PGP SIGNATURE-----


More information about the mythtv-users mailing list