Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 15:53:55 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 90797 for review
Message-ID:  <200601311553.k0VFrt6v046956@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90797

Change 90797 by rwatson@rwatson_zoo on 2006/01/31 15:53:11

	Stop auditd and the audit subsystem using audit -t, not a signal to
	auditd.

Affected files ...

.. //depot/projects/trustedbsd/audit3/etc/rc.d/auditd#6 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/etc/rc.d/auditd#6 (text+ko) ====

@@ -22,10 +22,12 @@
 
 auditd_stop()
 {
+
 	if [ -f /var/run/auditd.pid ]; then
-		kill -1 `cat /var/run/auditd.pid`;
-	else echo "The audit daemon is not running";
-fi
+		/usr/sbin/audit -t
+	else
+		echo "The audit daemon is not running";
+	fi
 }
 
 load_rc_config $name



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