http://qa.mandrakesoft.com/show_bug.cgi?id=5865

           Product: snort
         Component: program
           Summary: The file /etc/init.d/snortd does not shut off snort
                    daemon
           Product: snort
           Version: 2.0.0-3mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: program
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The file /etc/init.d/snortd does not correctly shut off the snort daemon.  When
using the killproc funtion call in the shell it does not seem to be able to find
the pid file correctly.  I believe this problem affects 9.0, 9.1, and the new
9.2.  I have include a diff of the file below.  It shows the change I made that
fixed it on my system.

# diff -c /usr/src/RPM/SOURCES/snortd /etc/init.d/snortd

*** /usr/src/RPM/SOURCES/snortd 2002-02-20 08:45:38.000000000 -0600
--- /etc/init.d/snortd  2003-09-20 09:47:07.000000000 -0500

***************
*** 37,43 ****
        ;;
    stop)
        gprintf "Stopping snort: "
!       killproc snort
        rm -f /var/lock/subsys/snort
        rm -f /var/run/snort_${INTERFACE}.pid
        echo
--- 37,43 ----
        ;;
    stop)
        gprintf "Stopping snort: "
!       killproc snort_${INTERFACE}
        rm -f /var/lock/subsys/snort
        rm -f /var/run/snort_${INTERFACE}.pid
        echo

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to