-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
3.2.1
-
debian 7.8; zabbix-agent = 1:2.2.7+dfsg-2
the init.d file for debian is confused about its filename
host:/var/log/zabbix# service zabbix-agent Usage: /etc/init.d/zabbix_agentd {start|stop|restart|force-reload} host:/var/log/zabbix# less /etc/init.d/zabbix_agentd /etc/init.d/zabbix_agentd: No such file or directory
Note that there are two problems with this output:
- It the output includes an underscore _, but the service uses a -.
- It includes a trailing d, but the service name does not.
The same first problem occurs for zabbix-server.
I've attached a patch (against .D........ ZBXNEXT-1667 added frontend changes to the Changelog) which should fix this.
The version I encountered this problem is older, but the code is still broken in current.
One could use $0 instead if calculating name, but at least some debian scripts like to do some gymnastics (to handle cases where sysv init systems are in play).