Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10133

use "tmpfiles.d" feature in official zabbix packages for systems with systemd

XMLWordPrintable

      Not sure we really want to do that but it looks like a general practice on installations with systemd.
      http://www.freedesktop.org/software/systemd/man/tmpfiles.d.html
      We need to discus that.

      For example packages some information I've collected form different distros:

      Debian/testing (stretch) (zabbix-server-mysql and zabbix-java-gateway packages):

      # cat /usr/lib/tmpfiles.d/zabbix-server.conf
      d /var/run/zabbix 0755 zabbix zabbix
      
      # cat /usr/lib/tmpfiles.d/zabbix-java-gateway.conf
      d /var/run/zabbix 0755 zabbix zabbix
      

      note: debian doesn't have parent-level "zabbix-server" package

      Fedora 23 (zabbix-server package):

      # cat /usr/lib/tmpfiles.d/zabbixsrv.conf
      D /run/zabbixsrv 0755 zabbixsrv zabbixsrv -
      

      OpenSuse (zabbix-server and zabbix-java-gateway packages):

      # cat /usr/lib/tmpfiles.d/zabbix-server.conf
      D /run/zabbixs 0770 root zabbixs -
      
      # cat /usr/lib/tmpfiles.d/zabbix-java-gateway.conf
      D /var/run/zabbix 0770 root zabbixs -
      

            Unassigned Unassigned
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: