Bruce Markey wrote:
MythTV wrote:
#1089: SEGV when TOGGLERECORD from live on a slave encoder
---------------------+------------------------------------------------------ Reporter: bjm | Owner: danielk Type: defect | Status: reopened Priority: blocker | Milestone: 0.19 Component: mythtv | Version: head Severity: medium | Resolution: ---------------------+------------------------------------------------------
Comment (by danielk):

 Sorry Bruce, I didn't commit the whole thing.

 This was a 'just-in-time' slave backend created with my WAF++ production
 box (sans svn). I was just shuttling diffs back and forth with scp, and
 must have copied the last bit backwards. I've just applied the last fix
 which includes a fix for the very thing you just ran into.

Pretty obvious by looking at the patch. I was trying to fix this
for myself but was late for lunch when it appear to me to be a problem
with MythEvents between hosts.

I never do builds or even make install on an host other than my
desktop build machine.

Sorry. Premature send.

I make install on my desktop then rsync from any other host where I
want to run that version. I just type 'mi' and have the desired version
in place.

I have four machines with mysqld. Myth binaries look for ./mysql.txt
before anything else so I have a subdirectory for each hostname in my
home dir, each with a ./mysql.txt for the database server on that host.

So, if I want to test using my production master as a slave test machine,
I install the test version on my desktop "moktoo". "mi" from my prod
machine, "cd ~/moktoo" and "mythbackend". It start up as a slave of
moktoo running the test or debug version of the software. To switch
back I just reinstall from my production version tree on moktoo then
"mi" from each machine that should have the production version.

--  bjm




#!/bin/sh
#
# mi: MythTV installation steps for root

if [ "$(hostname)" != "moktoo" ]
then
    mk
    su bjm -c /home/bjm/bin/rsmyth
fi

ldconfig
ldconfig
chown root /usr/local/bin/mythfrontend
chmod 4755 /usr/local/bin/mythfrontend
#!/bin/sh
#
# rsmyth: rsync mythtv components
#

MHOST="moktoo"
#MHOST="sleepy"
#MHOST="nordtv"
ST="--stats"

#killall mythbackend
#killall mythfrontend
#killall mythcommflag
rm -rf $HOME/.mythtv/themecache/*

RSYNC=/usr/bin/rsync

$RSYNC -avz     $MHOST:/usr/local/lib/libmyth* /usr/local/lib

$RSYNC -avz     $MHOST:/usr/local/lib/mythtv/ /usr/local/lib/mythtv/

$RSYNC -avz     $MHOST:/usr/local/bin/myth* /usr/local/bin

$RSYNC -avz     $MHOST:/usr/local/share/mythtv/ /usr/local/share/mythtv/


_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to