From owner-freebsd-bugs Tue Apr 17 19:50: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 266C237B42C for ; Tue, 17 Apr 2001 19:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3I2o1X84549; Tue, 17 Apr 2001 19:50:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5DAE437B422 for ; Tue, 17 Apr 2001 19:41:45 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3I2fjp83998; Tue, 17 Apr 2001 19:41:45 -0700 (PDT) (envelope-from nobody) Message-Id: <200104180241.f3I2fjp83998@freefall.freebsd.org> Date: Tue, 17 Apr 2001 19:41:45 -0700 (PDT) From: david@wmol.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/26662: syslogd crashing if kill'd with -9 or already running Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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