Public bug reported:
In Xenial, zabbix-agent installer generates zabbix user without valid
home dir (/nonexistent). This breaks RemoteCommands that need a
writeable homedir to complete:
e.g. I wrote a tiny script to count number of security upgrades waiting
(using aptitude). This works on all precise and trusty servers, but
failed on the new xenial install:
zabbix# zabbix_get -s webhostnew -k
'system.run[/usr/local/sbin/count_upgradeable,wait]'
E: /nonexistent/.aptitude - mkdir (2: No such file or directory)
1
Seting zabbix user homedir to /var/run/zabbix fixed the problem.
** Affects: zabbix (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574501
Title:
Zabbig_agent needs valid home directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zabbix/+bug/1574501/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs