As an added note, I responded to the thread in question with
I'm completely unable to reproduce the issue using a fresh 12.04.1
install (upgraded using default repos), enabling 0.26 repo, then doing
an upgrade there. So it would seem to me that it is not a packaging
issue. The code you are questioning is as follows
Which says to read the /etc/mythtv/config.xml file and set the value
to what is returned (and throw away error messages). So if you run the
following commands and don't get returns of your DBName, DBUserName,
DBPassword, and DBHostName, then there is something wrong with your
config.xml file.
As an added note, I responded to the thread in question with
I'm completely unable to reproduce the issue using a fresh 12.04.1
install (upgraded using default repos), enabling 0.26 repo, then doing
an upgrade there. So it would seem to me that it is not a packaging
issue. The code you are questioning is as follows
CONFIG= /etc/mythtv/ config. xml mysql_mythtv_ dbname "`xpath -q -e mysql_mythtv_ user "`xpath -q -e //DBUserName) ' $CONFIG 2>/dev/null`" mysql_mythtv_ password "`xpath -q -e //DBPassword) ' $CONFIG 2>/dev/null`" //DBHostName) '
if [ -e $CONFIG ]; then
db_set mythtv/
'string(//DBName)' $CONFIG 2>/dev/null`"
db_set mythtv/
'string(
db_set mythtv/
'string(
db_set mythtv/mysql_host "`xpath -q -e 'string(
$CONFIG 2>/dev/null`"
fi
Which says to read the /etc/mythtv/ config. xml file and set the value
to what is returned (and throw away error messages). So if you run the
following commands and don't get returns of your DBName, DBUserName,
DBPassword, and DBHostName, then there is something wrong with your
config.xml file.
xpath -q -e 'string(//DBName)' /etc/mythtv/ config. xml 2>/dev/null //DBUserName) ' /etc/mythtv/ config. xml 2>/dev/null //DBPassword) ' /etc/mythtv/ config. xml 2>/dev/null //DBHostName) ' /etc/mythtv/ config. xml 2>/dev/null
xpath -q -e 'string(
xpath -q -e 'string(
xpath -q -e 'string(
For instance, on this VM I just setup, I get
thomas@ tmashos- testboxen5: ~$ xpath -q -e 'string(//DBName)' config. xml 2>/dev/null tmashos- testboxen5: ~$ xpath -q -e 'string( //DBUserName) ' config. xml 2>/dev/null tmashos- testboxen5: ~$ xpath -q -e 'string( //DBPassword) ' config. xml 2>/dev/null tmashos- testboxen5: ~$ xpath -q -e 'string( //DBHostName) ' config. xml 2>/dev/null tmashos- testboxen5: ~$
/etc/mythtv/
mythconverg
thomas@
/etc/mythtv/
mythtv
thomas@
/etc/mythtv/
Nal0pMRh
thomas@
/etc/mythtv/
localhost
thomas@