hi sean, On Tue, Jun 13, 2006 at 08:37:45AM -0400, sean finney wrote: > On Tue, Jun 13, 2006 at 01:15:52PM +0200, Thomas Huriaux wrote: > > > im not sure why dbconfig-common even *trys* to create a new database > > > (-user) here. However, when used, dbconfig-common always would need root > > > privileges on the mysql database for this (or privileges from another > > > user allowed to grant rights), which means the administrator has to > > > grant root access from remote hosts (if the frontend is installed on > > > another server), otherwise the package fails to install. > > > > Sean, can you please have a look at this bug (#372898) and tell us if > > there is a workaround for the problems explained by Michael? > > if i understand correctly, you want another package to prompt for the > various settings information, but not actually do any of the setup?
yeah, thats exactly the point. > currently, you can't do that. you *can* use the settings from one > package in another if they're both installed on the same host (by > manually invoking dbconfig-generate-include in your postinst), but the > full version of what you want is non-existant at this point. yes, that was my impression too. > however, this sounds like a cool feature to have (i have a package > which could use this too), and it wouldn't be too hard to implement. > please open a wishlist bug against dbconfig-common (or reassign this one) > and i'll see what i can do in the next release or two :) yes, that'd be great. Something like having 2 profiles for dbconfig-common, one that does actually do the whole database modification stuff and another one which can be used to ask a certain set of questions, only for creating a include file (which could be used for client-only packages).. It would be even greater to be able to tell the client side profile what questions to ask (like dbc_questions="dbc_server dbc_username") or something. So packages which prompt for database questions would not need to create their own debconf templates and such, saves alot of translation effords. > ps - echo [EMAIL PROTECTED] | sed -e 's/sean/seanius/' :) sorry about that :) bye, - michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]