PERFORCE change 90797 for review

Robert Watson rwatson at FreeBSD.org
Tue Jan 31 15:53:55 GMT 2006


http://perforce.freebsd.org/chv.cgi?CH=90797

Change 90797 by rwatson at 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
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list