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

init.d zabbix-agent2 script is buggy

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: