init.d zabbix-agent2 script is buggy

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: 5.0.24
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: