[Bug 252882] Re: crash on multiple db install with dbc_dbpass in config

Soren Hansen soren at ubuntu.com
Mon Sep 7 13:18:25 BST 2009


Something here does not completely add up:

 	# for authenticated-only dbtypes.  also catches empty (multidb) type.
-	if echo "$dbc_authenticated_dbtypes" | grep -q "$dbc_dbtype"; then
+	if [$dbc_dbtype ] && echo "$dbc_authenticated_dbtypes" | grep -q "$dbc_dbtype"; then
+

The comment above the changed line says: "also catches empty (multidb) type."
a) Applying the change will make that comment untrue and quite confusing.
b) The original developer clearly meant for the conditional to match an empty (multidb) dbc_dbtype.

It also seems to me that if this patch is applied, the password will not
be set based on the values in /etc/dbconfig-common/*?

-- 
crash on multiple db install with dbc_dbpass in config
https://bugs.launchpad.net/bugs/252882
You received this bug notification because you are a member of Ubuntu
Sponsors for main, which is a direct subscriber.



More information about the Ubuntu-main-sponsors mailing list