[opensuse-buildservice] user input in rpm
Hi list, i hope that I am asking my question on the right list: I am building a zabbix server rpm for openSuSe. Zabbix has an (optional) mysql backend that I want to be installed automatically. This only works when mysql has no root password at the moment, how can I fix that? Can I use user input somehow, so the user can fill in a mysql username/password while installing the rpm? Or is there another way to resolve this issue? Thanks! regards Chantal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-04-22 11:32:02 +0200, Chantal Rosmuller wrote:
i hope that I am asking my question on the right list:
I am building a zabbix server rpm for openSuSe. Zabbix has an (optional) mysql backend that I want to be installed automatically. This only works when mysql has no root password at the moment, how can I fix that? Can I use user input somehow, so the user can fill in a mysql username/password while installing the rpm? Or is there another way to resolve this issue?
not really. you dont know what package manager is installing your package. in case of zmd e.g. it might be a daemon without any active tty. i think the best approach would be some readme in the doc dir and maybe a script like zabbix-config, which does the needed steps later. hope this helps darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday 22 April 2008 12:58:27 Marcus Rueckert wrote:
On 2008-04-22 11:32:02 +0200, Chantal Rosmuller wrote:
i hope that I am asking my question on the right list:
I am building a zabbix server rpm for openSuSe. Zabbix has an (optional) mysql backend that I want to be installed automatically. This only works when mysql has no root password at the moment, how can I fix that? Can I use user input somehow, so the user can fill in a mysql username/password while installing the rpm? Or is there another way to resolve this issue?
not really. you dont know what package manager is installing your package. in case of zmd e.g. it might be a daemon without any active tty. i think the best approach would be some readme in the doc dir and maybe a script like zabbix-config, which does the needed steps later.
hope this helps
darix
yes thank you, a script is a good idea --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Chantal Rosmuller
-
Marcus Rueckert