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

init.d zabbix-agent2 script is buggy

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 5.0.24
    • Agent (G)

      Steps to reproduce:

      install zabbix-agent2 on a debian without systemd, install satll and never work

      Result:

      apt cannot install as it block on the startup

      case "$1" in
        start)
          log_daemon_msg "Starting $DESC" "$NAME"
          start-stop-daemon $UGDEFS --oknodo --start --pidfile $PID --exec $DAEMON >/dev/null 2>&1
      

      ======================================================

      should be

      case "$1" in
        start)
          log_daemon_msg "Starting $DESC" "$NAME"
          start-stop-daemon $UGDEFS --oknodo --start --background --pidfile $PID --exec $DAEMON >/dev/null 2>&1
      

      best regards,
      Ghislain.

            yurii Jurijs Klopovskis
            ghislain ghislain
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: