Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Dennis Kaarsemaker
On ma, 2007-08-20 at 12:48 -0400, Barry deFreese wrote: > I suppose another option would be to prompt the user for 1. Connect to > remote db 2. Use local db 3. Leave unconfigured but that just means > more prompting that we don't like, no? Isn't dbconfig-common meant to handle this? -- Dennis

Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Mathias Gug
On Mon, Aug 20, 2007 at 06:03:09PM -0400, Barry deFreese wrote: > If I am reading the postinst for simba correct it does that properly. > If it can't connect with the default credentials, it prompts for them. > (I think). However, it assumes that SOME local database already exists > which obvi

Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Barry deFreese
Mathias Gug wrote: > Hi, > > On Mon, Aug 20, 2007 at 05:24:44PM -0400, Scott Kitterman wrote: > >>> What you'd probably need to ask is the database configuration (such as >>> host, username, password to create the tables). Try to connect to the >>> database and fail graciously if it cannot conne

Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Mathias Gug
Hi, On Mon, Aug 20, 2007 at 05:24:44PM -0400, Scott Kitterman wrote: > >What you'd probably need to ask is the database configuration (such as > >host, username, password to create the tables). Try to connect to the > >database and fail graciously if it cannot connect. > > > Would you have an exam

Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Scott Kitterman
On Mon, 20 Aug 2007 16:35:08 -0400 Mathias Gug <[EMAIL PROTECTED]> wrote: >Hi, > >On Mon, Aug 20, 2007 at 12:48:39PM -0400, Barry deFreese wrote: >> > >> > It's a valid configuration to have the database on an other host. >> > Therefore similar packages like simba depend only on a database client >

Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Mathias Gug
Hi, On Mon, Aug 20, 2007 at 12:48:39PM -0400, Barry deFreese wrote: > > > > It's a valid configuration to have the database on an other host. > > Therefore similar packages like simba depend only on a database client > > (which will hopefully know where to reach the database) and suggest the > > d

Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Mario Limonciello
We encounter this same issue when working with the mythtv-database postinstall script. Here is what we are using for our workaround: if ! DoSQL "$hostname" "$admin_username" "$admin_password" "$database" "SELECT NULL" 2>/dev/null; then if ! DoSQL "$hostname" "$admin_username" "$admin

Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Barry deFreese
Michael Bienia wrote: > On 2007-08-17 16:50:27 -0400, Barry deFreese wrote: > >> For simba, I did something like this in the simba.postinst: >> >> # Check if mysqlserver is running >> if [ -e "/var/run/mysqld/mysqld.sock" ]; then >> ... >> else >> echo "W: Database server does not appear to

Re: Previous MOTU meeting.

2007-08-20 Thread Emmet Hikory
Luke Yelavich wrote: > Was just wondering about the minutes for the previous meeting, and when > the next meeting is scheduled, as there has been no word on the ML. No minutes have yet been drafted. A mostly raw log is available from https://wiki.ubuntu.com/MeetingLogs/MOTU/20070810. -- Emm

Upcoming MOTU Meeting

2007-08-20 Thread Emmet Hikory
The next MOTU meeting will be held 24th August, 12:00 UTC in #ubuntu-meeting. The agenda for the meeting is at https://wiki.ubuntu.com/MOTU/Meetings. Please add anything you might like to discuss. -- Emmet HIKORY -- Ubuntu-motu mailing list Ubuntu-motu@lists.ubuntu.com Modify settings or

Re: Postinsts barfing when mysqld not running

2007-08-20 Thread Michael Bienia
On 2007-08-17 16:50:27 -0400, Barry deFreese wrote: > For simba, I did something like this in the simba.postinst: > > # Check if mysqlserver is running > if [ -e "/var/run/mysqld/mysqld.sock" ]; then > ... > else > echo "W: Database server does not appear to be running!" > echo "W: Please

Re: review tool for new packages

2007-08-20 Thread Cesare Tirabassi
On Sun, 2007-08-19 at 11:45 +0200, Reinhard Tartler wrote: > > Personally, I only see as a solution that of changing the > > ubuntu-universe-contributors team participation from an open to a > > restricted one. Only contributors that can show a minimum level of > > competence as well as a continu

Re: tiber down, revu back up

2007-08-20 Thread Sarah Hobbs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan Potyra wrote: > Since we cannot assume, that tiber was in fact not compromised, all the > previously uploaded packages were not imported into the new instance. Also > the database started completely empty. > Excellent! This should help us g