[Bug 238211] net-mgmt/zabbix4-server wrong REQUIRE mysql-server in rc script
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 29 11:07:16 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238211
Bug ID: 238211
Summary: net-mgmt/zabbix4-server wrong REQUIRE mysql-server in
rc script
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: 000.fbsd at quip.cz
CC: pg at pakhom.spb.ru
CC: pg at pakhom.spb.ru
Flags: maintainer-feedback?(pg at pakhom.spb.ru)
Created attachment 204692
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204692&action=edit
change REQUIRE to mysql
rc.d/zabbix_server has REQUIRE: mysql-server but all MySQL server (I checked
MySQL 5.7, 8.0, MariaDB 10.3) has PROVIDE: mysql.
This results in a wrong start up order:
# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | grep local
rcorder: requirement `mysql-server' in file `/usr/local/etc/rc.d/zabbix_server'
has no providers.
/etc/rc.d/mountcritlocal
/etc/rc.d/local_unbound
/usr/local/etc/rc.d/zabbix_server
/usr/local/etc/rc.d/zabbix_agentd
/usr/local/etc/rc.d/snmptrapd
/usr/local/etc/rc.d/snmpd
/etc/rc.d/local
/usr/local/etc/rc.d/rsyncd
/usr/local/etc/rc.d/php-fpm
/usr/local/etc/rc.d/nginx
/usr/local/etc/rc.d/mysql-server
/usr/local/etc/rc.d/garb
/etc/rc.d/localpkg
zabbix_server should be started after mysql-server
When I changed the REQUIRE line to "mysql" it has right order and no warning
"has no provider"
# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | grep local
/etc/rc.d/mountcritlocal
/etc/rc.d/local_unbound
/etc/rc.d/local
/usr/local/etc/rc.d/mysql-server
/usr/local/etc/rc.d/zabbix_server
/usr/local/etc/rc.d/zabbix_agentd
/usr/local/etc/rc.d/snmptrapd
/usr/local/etc/rc.d/snmpd
/usr/local/etc/rc.d/rsyncd
/usr/local/etc/rc.d/php-fpm
/usr/local/etc/rc.d/nginx
/usr/local/etc/rc.d/garb
/etc/rc.d/localpkg
The same change should be made in all Zabbix versions (2.2, 3, 4.2)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list