-
Documentation task
-
Resolution: Won't fix
-
Trivial
-
None
-
None
-
None
-
None
Using official packages from http://repo.zabbix.com
When installing latest version (3.4.6) in Ubuntu Xenial, the user "zabbix" is created, but the specified home directory is missing.
I checked zabbix-server-mysql.postinst which confirms this.
adduser is having the --no-create-home parameter. While this prevents skeleton files from being copied it would be good to ensure later on that at least an empty directory exists.
I suggest to add after the adduser line the following code:
mkdir -p /var/lib/zabbix chown zabbix:tabbix /var/lib/zabbix
The same applies for the agent installation. Here the same change is needed in zabbix-agent.postint. Other postint files creating users are likely affected by the same, but I did not check.