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

2013-04-26 Thread Thomas Mashos
cdhunter2 Good to know. What was the value set to previously? Was it set to False or was nothing there? (or was something else there?) -- You received this bug notification because you are a member of Mythbuntu Bug Team, which is subscribed to Mythbuntu. https://bugs.launchpad.net/bugs/1159992

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

2013-04-26 Thread Carl
After more digging I found that if I set the value parameter of the following section of /var/cache/debconf/config.dat to true I'm able to do an update without /etc/mysql/conf.d/mythtv.cnf getting changed. Name: mythtv/public_bind Template: mythtv/public_bind Value: true Owners: mythtv-database Fl

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

2013-04-26 Thread Carl
Yes, it's still happening on some of my servers. I think the postinst script fails the if after the db_get mythtv/public_bind line. I found the following in the config script but I'm not sure what it's doing. I don't get asked a question on an upgrade. db_input high mythtv/public_bind || true d

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

2013-04-26 Thread Thomas Mashos
@cdhunter2 Yea it's happening in mythtv-database.postinst, not .install. Not sure why though. Is this still happening on every update? -- You received this bug notification because you are a member of Mythbuntu Bug Team, which is subscribed to Mythbuntu. https://bugs.launchpad.net/bugs/1159992

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

2013-04-26 Thread Carl
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