← Back to team overview

linux-traipu team mailing list archive

[Bug 1159992] Re: Mysql settings being reset after MythTV update

 

I extracted the mythtv-database deb file and this is all I could find
relating to the mythtv.cnf file.

    #For database fillings
    #and mysql binding checks
    if [ -f "${MYSQLCONFIG}" ]; then
        db_get mythtv/public_bind
        if [ -n "$RET" ] && [ $RET = true ]; then
            NEWIP=`ifconfig | grep "inet addr:" | grep --invert-match 127.0.0.1 | sed ' s/inet addr://g; s/^[ \t]*//;s/[ \t]*$//; q;' | awk '{print $1}'`
            sed -i -e 's/^#bind/bind/' ${MYSQLCONFIG}
        else
            sed -i -e 's/^bind/#bind/' ${MYSQLCONFIG}
        fi
    fi

I don't really understand all this but if there's extra info you want
from my system related to this let me know.  It still resets the
mythtv.cnf file on me.

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1159992

Title:
  Mysql settings being reset after MythTV update

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  New

Bug description:
  After doing a mythtv update using the 0.26 fixes branch mysql's
  setting are changed to only allow local connections.  I have to reset
  this after every mythtv update.

  Here's the output of ifconfig

  eth0      Link encap:Ethernet  HWaddr 00:11:d8:2d:5a:6f
            inet addr:192.168.1.56  Bcast:192.168.1.255  Mask:255.255.255.0
            inet6 addr: fe80::211:d8ff:fe2d:5a6f/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:29204658 errors:0 dropped:0 overruns:0 frame:0
            TX packets:52133340 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:3464655072 (3.4 GB)  TX bytes:1224178208 (1.2 GB)

  lo        Link encap:Local Loopback
            inet addr:127.0.0.1  Mask:255.0.0.0
            inet6 addr: ::1/128 Scope:Host
            UP LOOPBACK RUNNING  MTU:16436  Metric:1
            RX packets:8843878 errors:0 dropped:0 overruns:0 frame:0
            TX packets:8843878 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:2094011053 (2.0 GB)  TX bytes:2094011053 (2.0 GB)

  I'm currently running the following version

  0.26.0+fixes.20130320.c0419cd-0ubuntu0mythbuntu2

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1159992/+subscriptions


References