Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 19:41:45 -0700 (PDT)
From:      david@wmol.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/26662: syslogd crashing if kill'd with -9 or already running
Message-ID:  <200104180241.f3I2fjp83998@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26662
>Category:       misc
>Synopsis:       syslogd crashing if kill'd with -9 or already running
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 17 19:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Hill
>Release:        FreeBSD 4.3-RC
>Organization:
>Environment:
FreeBSD beast.hill.hom 4.3-RC FreeBSD 4.3-RC #1: Thu Mar 29 23:30:04 EST 2001     ocipio@beast.hill.hom:/usr/src/sys/compile/BEAST  i386

>Description:
1.) If a syslogd process is already running when you try to start another,
    the second exits without a friendly message

(root@beast /etc/defaults) /usr/sbin/syslogd -s
(root@beast /etc/defaults) /usr/sbin/syslogd -s
syslogd: child pid 35283 exited with return code 1


2.) killall -9 syslogd.  The next time you start syslogd, it exits with a
    return code of 1.

(root@beast /etc) /usr/sbin/syslogd -s                  
(root@beast /etc) killall -9 syslogd
(root@beast /etc) /usr/sbin/syslogd -s
syslogd: child pid 35273 exited with return code 1
(root@beast /etc) /usr/sbin/syslogd -s
(root@beast /etc) 


>How-To-Repeat:
see description
>Fix:
If syslogd is already running, print a friendly error message saying that it is.

As with the `kill -9` bug, I am not sure why it exits the next time you start it.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104180241.f3I2fjp83998>