there is some functionality that requires correct environment set for zabbix_agentd - for example, ability to use .my.cnf.
we used that previously, but it seems that it is not working with the latest versions anymore - 1.4.4 agent does not use .my.cnf in the home directory for zabbix_agentd user.
if i start zabbix_agentd as the zabbix user, parameters requiring .my.cnf access start working, so it seems that when agentd detaches and drops root privileges, it fails to set correct environment.
anybody else observed this ?
i have a vague guess that before it actually worked because of a security problem that got fixed for 1.4.3
:
- [ZBX-189, CVE-2007-6210] fixed super-user permissions of user commands (Alexei)
so it might have used root .my.cnf before, actually. in any case, mysql user parameters with password suplied in .my.cnf do not work anymore.
supplying password in zabbix_agentd.conf is not an option
we used that previously, but it seems that it is not working with the latest versions anymore - 1.4.4 agent does not use .my.cnf in the home directory for zabbix_agentd user.
if i start zabbix_agentd as the zabbix user, parameters requiring .my.cnf access start working, so it seems that when agentd detaches and drops root privileges, it fails to set correct environment.
anybody else observed this ?
i have a vague guess that before it actually worked because of a security problem that got fixed for 1.4.3
:- [ZBX-189, CVE-2007-6210] fixed super-user permissions of user commands (Alexei)
so it might have used root .my.cnf before, actually. in any case, mysql user parameters with password suplied in .my.cnf do not work anymore.
supplying password in zabbix_agentd.conf is not an option
Comment