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

openrc script not worked with /var/run/ via tmpfs

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 1.8.15
    • Agent (G)
    • None
    • Linux chimera 3.7.9-gentoo #1 SMP Mon Feb 25 15:40:33 MSK 2013 i686 VIA Eden Processor 500MHz CentaurHauls GNU/Linux

      in gentoo /var/run/ now symlink to /var, var mounted via tmpfs.

      1. ls -l /var/ | grep run
        lrwxrwxrwx 1 root root 4 Dec 3 12:47 run -> /run

      #mount | grep \/run
      tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)

      openrc start script need some patch seems:

      /etc/init.d/zabbix-agentd

      start()

      { ebegin "Starting Zabbix agent" + [ -d /var/run/zabbix ] || mkdir /var/run/zabbix; chown zabbix:zabbix /var/run/zabbix start-stop-daemon --start --user zabbix --group zabbix --exec /usr/sbin/zabbix_agentd eend $? }

      Maybe need more flexible and more beatiful solution

            Unassigned Unassigned
            coyote Victor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: