Bug#306101: Same issue, different place
I'm also seeing assertion failures with 1.3.33-6sarge1, but with different gcache line number information. Same symptoms, however; gcache dies and apache-ssl no longer properly negotiates SSL connections. gcache: gcache.c:152: HandleClient: Assertion `n == 1' failed. [Sat Jan 7 05:10:18 2006] [notice] child pid 23467 exit signal Aborted (6) [Sat Jan 7 05:10:18 2006] [warn] long lost child came home! (pid 23467) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!"couldn't connect to socket"' failed. [Sat Jan 7 05:10:26 2006] [notice] child pid 24974 exit signal Aborted (6) -- Ian Gulliver Penguin Hosting "Failure is not an option; it comes bundled with your Microsoft products." signature.asc Description: Digital signature
Bug#303401: mkinitrd fails with cryptsetup and libdevmapper1.01
Package: initrd-tools Version: 0.1.77 Severity: important Line 385 of mkinitrd contains a reference to /lib/libdevmapper.so.1.00; this code is run when cryptsetup is installed, presumably to handle encrypted root filesystems. However, the current version of cryptsetup in sarge (20050111-3) depends on libdevmapper1.01, and the file above doesn't exist. Perhaps there needs to be a more future-proof way to handle this? -- Ian Gulliver Penguin Hosting "Failure is not an option; it comes bundled with your Microsoft products." signature.asc Description: Digital signature
Bug#303403: System asks for passphrase on bootup when root isn't encrypted
Package: initrd-tools Version: 0.1.77 Severity: important When a new kernel (2.6.11-2) is installed on a system with cryptsetup (20050111-3) installed, rebooting causes the system to request a passphrase before init starts. This system does not have an encrypted root filesystem, and simply pressing enter causes the system to start normally. However, this will break remote reboots, and is quite annoying on local machines. -- Ian Gulliver Penguin Hosting "Failure is not an option; it comes bundled with your Microsoft products." signature.asc Description: Digital signature
Bug#299608: Not fixed
package php4-mysql reopen 299608 ! thanks Using 4.3.10-10, this bug is still present: [1967] EACCELERATOR: PHP crashed on opline 99 of mysql_fetch_field() at /var/www/intranet/wp-includes/wp-db.php:144 [Thu Mar 24 09:57:33 2005] [notice] child pid 1967 exit signal Segmentation fault (11) - PHP Version 4.3.10-10 System Linux X 2.6.8-1-686-smp #1 SMP Thu Nov 25 04:55:00 UTC 2004 i686 Build Date Mar 23 2005 23:23:16 Server API Apache PHP API 20020918 PHP Extension 20020429 Zend Extension 20021010 Debug Build no Thread Safety disabled -- Ian Gulliver Penguin Hosting "Failure is not an option; it comes bundled with your Microsoft products." signature.asc Description: Digital signature
Bug#299608: Not fixed
> > [1967] EACCELERATOR: PHP crashed on opline 99 of mysql_fetch_field() at > > /var/www/intranet/wp-includes/wp-db.php:144 > > [Thu Mar 24 09:57:33 2005] [notice] child pid 1967 exit signal > > Segmentation fault (11) > > This was supposedly fixed in CVS, and the patch is included in 4.3.10-10. > If you could provide me with a simple testcase to show where it's > breaking, that would be great. I'm afraid that I'm not familiar enough with the issue to do so; the above error is from wordpress. > Also, "EACCELERATOR"?... I assume that means you're using some sort of > cache/accelerator product. Does it still crash without it? Yes; the segfault lines still appear, and the page still fails to load. -- Ian Gulliver Penguin Hosting "Failure is not an option; it comes bundled with your Microsoft products." signature.asc Description: Digital signature
Bug#278864: check_mysql and slave status
> Can you please check it and see if you think it's sufficient. If it's not I am > willing to integrate the rest of your patch, but I'd like to have assurance > from > upstream before that they are going to integrate it too, in the next > release... The patch contained checking from the slave point of view, but not from the master. Attached is a new patch against the current version that provides the latter as well. -- Ian Gulliver Penguin Hosting "Failure is not an option; it comes bundled with your Microsoft products." diff -udr nagios-plugins-1.4/plugins/check_mysql.c nagios-plugins-1.4-slave/plugins/check_mysql.c --- nagios-plugins-1.4/plugins/check_mysql.c2005-02-22 11:35:35.0 -0500 +++ nagios-plugins-1.4-slave/plugins/check_mysql.c 2005-02-22 12:01:54.0 -0500 @@ -34,6 +34,7 @@ char *db = NULL; unsigned int db_port = MYSQL_PORT; int check_slave = 0; +char *slave_host = NULL; int process_arguments (int, char **); int validate_arguments (void); @@ -137,6 +138,34 @@ mysql_free_result (res); } + if(slave_host != NULL) { + int found = 0; + /* check for connected slave host */ + if (mysql_query (&mysql, "show slave hosts") != 0) { + mysql_close (&mysql); + die (STATE_CRITICAL, _("slave hosts query error: %s\n"), mysql_error (&mysql)); + } + + /* store the result */ + if ( (res = mysql_store_result (&mysql)) == NULL) { + mysql_close (&mysql); + die (STATE_CRITICAL, _("slave hosts store_result error: %s\n"), mysql_error (&mysql)); + } + + /* fetch the first row */ + while ( (row = mysql_fetch_row (res)) != NULL) { + if (slave_host[0] != '\0' && strcmp(row[1],slave_host) != 0) + continue; + found = 1; + } + + if (found == 0) + die (STATE_CRITICAL, "Slave host %s%snot connected\n", slave_host, slave_host[0] == '\0' ? "" : " "); + + /* free the result */ + mysql_free_result (res); + } + /* close the connection */ mysql_close (&mysql); @@ -165,6 +194,7 @@ {"password", required_argument, 0, 'p'}, {"port", required_argument, 0, 'P'}, {"check-slave", no_argument, 0, 'S'}, + {"slave-host", optional_argument, 0, 's'}, {"verbose", no_argument, 0, 'v'}, {"version", no_argument, 0, 'V'}, {"help", no_argument, 0, 'h'}, @@ -175,7 +205,7 @@ return ERROR; while (1) { - c = getopt_long (argc, argv, "hVSP:p:u:d:H:", longopts, &option); + c = getopt_long (argc, argv, "hVSP:p:u:d:H:s::", longopts, &option); if (c == -1 || c == EOF) break; @@ -204,6 +234,12 @@ case 'S': check_slave = 1; /* check-slave */ break; + case 's': + if (optarg == NULL) + slave_host = ""; + else + slave_host = optarg; + break; case 'V': /* version */ print_revision (progname, revision); exit (STATE_OK); @@ -289,7 +325,9 @@ ==> IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!! <==\n\ Your clear-text password will be visible as a process table entry\n\ -S, --check-slave\n\ - Check if the slave thread is running properly.\n")); + Check if the slave thread is running properly.\n\ + -s, --slave-host[=STRING]\n\ + Check if a slave host (named STRING) is connected.\n")); printf (_("\n\ There are no required arguments. By default, the local database with\n\ signature.asc Description: Digital signature
Bug#289706: Bluetooth device spews console errors after reboot
Package: kernel Version: 2.6.10-3 Severity: normal Tags: patch I have an Apple Bluetooth mouse. When the mouse is connected and working, then I reboot, the mouse seems to still believe it is connected. I don't know if that's a bug or not. What is a bug, however, is that the Bluetooth device can spam my console and logs with every packet it sends (i.e. moving the mouse). Attached is a patch to make this debugging output, rather than errors. -- Ian Gulliver Penguin Hosting "Failure is not an option; it comes bundled with your Microsoft products." diff -udr kernel-source-2.6.10/net/bluetooth/hci_core.c kernel-source-2.6.10-hcifix/net/bluetooth/hci_core.c --- kernel-source-2.6.10/net/bluetooth/hci_core.c 2004-12-24 16:34:27.0 -0500 +++ kernel-source-2.6.10-hcifix/net/bluetooth/hci_core.c2005-01-10 11:00:53.0 -0500 @@ -1284,7 +1284,7 @@ return; } } else { - BT_ERR("%s ACL packet for unknown connection handle %d", + BT_DBG("%s ACL packet for unknown connection handle %d", hdev->name, handle); } signature.asc Description: Digital signature
Bug#383402: mb_Delete() fails to free memory
Package: libmusicbrainz4-dev Version: 2.1.2 When doing normal query operations with the musicbrainz C interface, it leaks memory like a sieve because mb_Delete() doesn't actually free the RDF parser object. Patch is attached. -- Ian Gulliver Penguin Hosting "Failure is not an option; it comes bundled with your Microsoft products." diff -Naur libmusicbrainz-2.1.2/lib/rdfextract.cpp libmusicbrainz-2.1.2.mod/lib/rdfextract.cpp --- libmusicbrainz-2.1.2/lib/rdfextract.cpp 2004-10-12 10:10:46.0 +0200 +++ libmusicbrainz-2.1.2.mod/lib/rdfextract.cpp 2006-08-16 03:59:15.0 +0200 @@ -52,8 +52,6 @@ RDFExtract::RDFExtract(const string &rdfDocument, bool useUTF8) { - RDF_Parser parser; - hasError = false; this->useUTF8 = useUTF8; @@ -77,7 +75,7 @@ RDFExtract::~RDFExtract(void) { - + RDF_ParserFree (parser); } void RDFExtract::StatementHandler(RDF_SubjectType subject_type, diff -Naur libmusicbrainz-2.1.2/lib/rdfextract.h libmusicbrainz-2.1.2.mod/lib/rdfextract.h --- libmusicbrainz-2.1.2/lib/rdfextract.h 2004-10-12 09:28:44.0 +0200 +++ libmusicbrainz-2.1.2.mod/lib/rdfextract.h 2006-08-16 03:59:04.0 +0200 @@ -70,6 +70,7 @@ private: +RDF_Parser parser; vector triples; stringerror, empty, retValue, count; bool useUTF8, hasError; signature.asc Description: Digital signature