hi again,

On Wed, Jun 14, 2006 at 01:19:46PM +0200, Michael Ablassmeier wrote:
> On Wed, Jun 14, 2006 at 11:59:27AM +0200, Michel Meyers wrote:
> > Installing zabbix-server-mysql, which pulled in the frontend
> > automatically, the frontend package got unpacked and set up before the 
> > actual
> > server and started prompting me for MySQL database access configuration
> > (which hadn't been defined yet). 
> 
> yes, one solution to this problem is to move zabbix-frontend-php from
> the Recommends to the Suggests, fixed in SVN.
> 
> > In addition to that, I fail to see how the user can know the
> > MySQL password if he/she tells the server package to generate it randomly.
> > (Apart from manually looking it up in /etc/zabbix/zabbix_server.conf
> > after the installation of course.)
> 
> well, this is somewhat tricky to solve. I think i could query an
> existing dbconfig-common database within the postinst script, but im not
> 100% sure. Im going to have a look.

this works. We can use dbconfig-load-include for getting the Database
Users Password if zabbix-server-mysql is installed on the same host.
The package no skips this debconf question in this case. Fixed in SVN.

bye,
    - michael


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

Reply via email to