Package: dbconfig-common
Version: 1.8.29
Severity: wishlist

I have a package that installs a database and user in the postinst via
dbconfig-common, with dbc_dbuser=vdmt and dbc_dbname=vdmt.  The database
is created successfully, the mysql user is created succesfully, and the
user shows up in mysql's 'user' table:

| localhost | vdmt             | 55ae788633352193 | N           | N
      | N           | N           | N           | N         | N
  | N             | N            | N         | N          | N
    | N          | N          | N            | N          | N
          | N                | N            | N               | N
         | N                | N              | N                   | N
                | N                |          |            |
 |              |             0 |           0 |               0 |
             0 |


Upon purging the package, if I tell it (via debconf) to remove the
database and user, I see:

dbconfig-common: dumping mysql database vdmt to
/var/tmp/vdmt-mysql.vdmt.2006-11-27-02.29.mysql.O14213.
dbconfig-common: dropping mysql database vdmt.
dropping database vdmt: success.
verifying database vdmt was dropped: success.
dbconfig-common: revoking privileges for user vdmt on vdmt.
revoking access to database vdmt from [EMAIL PROTECTED]: success.

The database is gone, the related entry in mysql's 'db' table is gone,
but the entry in mysql's 'user' table is still there.  It would be nice
if this user was completely removed from mysql.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to