From cris@deana.it  Tue Sep 12 13:59:13 2006
Return-Path: <cris@deana.it>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 69FA416A49E
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Sep 2006 13:59:13 +0000 (UTC)
	(envelope-from cris@deana.it)
Received: from mail.deana.it (bsd.deana.it [62.123.205.227])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1547943D70
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Sep 2006 13:59:05 +0000 (GMT)
	(envelope-from cris@deana.it)
Received: (qmail 25630 invoked by uid 89); 12 Sep 2006 15:59:04 +0200
Received: from unknown (HELO deana.it) (83.103.26.34)
  by mail.deana.it with SMTP; 12 Sep 2006 15:59:04 +0200
Received: (qmail 8968 invoked by uid 1001); 12 Sep 2006 15:59:10 +0200
Message-Id: <20060912135910.8967.qmail@deana.it>
Date: 12 Sep 2006 15:59:10 +0200
From: Cristiano Deana <cris@gufi.org>
Reply-To: Cristiano Deana <cris@gufi.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: <robert@fledge.watson.org>
Subject: auditd doesn't start in -STABLE
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         103190
>Category:       i386
>Synopsis:       auditd doesn't start in -STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rwatson
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 12 14:00:39 GMT 2006
>Closed-Date:    Tue Sep 26 00:37:28 GMT 2006
>Last-Modified:  Tue Sep 26 00:37:28 GMT 2006
>Originator:     Cristiano Deana
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
G.U.F.I. (Italian FreeBSD User Group)
>Environment:
System: FreeBSD toshi 6.1-STABLE FreeBSD 6.1-STABLE #5: Fri Sep 8 11:14:33 CEST 2006 root@toshi:/usr/obj/usr/src/sys/TOSHI i386


>Description:
        auditd daemon doesn't start

# uname -a
FreeBSD toshi 6.1-STABLE FreeBSD 6.1-STABLE #5: Fri Sep  8 11:14:33 CEST 2006     root@toshi:/usr/obj/usr/src/sys/TOSHI  i386
# grep audit /etc/rc.conf
auditd_enable="YES"
# /etc/rc.d/auditd restart
Error sending trigger: Operation not supported by device
Starting auditd.
# tail -9 /var/log/security
Sep 12 15:00:31 toshi auditd[3773]: starting...
Sep 12 15:00:31 toshi auditd[3774]: dir = /var/audit
Sep 12 15:00:31 toshi auditd[3774]: New audit file is /var/audit/20060912130031.not_terminated
Sep 12 15:00:32 toshi auditd[3774]: auditctl failed setting log file! : Invalid argument
Sep 12 15:00:32 toshi auditd[3774]: Log directories exhausted
Sep 12 15:00:32 toshi auditd[3774]: Could not swap audit file
Sep 12 15:00:32 toshi auditd[3774]: Error reading control file
Sep 12 15:00:32 toshi cris: audit warning: getacdir /var/audit
Sep 12 15:00:32 toshi cris: audit warning: nostart
# ls -ld /var/audit
drwxr-x---  2 root  audit  512 Sep  8 16:43 /var/audit
# df -h /var
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1d    239M    116M    104M    53%    /var
#


>How-To-Repeat:

>Fix:




>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rwatson 
State-Changed-When: Tue Sep 26 00:36:25 UTC 2006 
State-Changed-Why:  
Take ownership of this PR; close it as the auditctl(2) bug in -STABLE 
that caused this specific problem is now fixed. 



Responsible-Changed-From-To: freebsd-i386->rwatson 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Tue Sep 26 00:36:25 UTC 2006 
Responsible-Changed-Why:  
Take ownership of this PR; close it as the auditctl(2) bug in -STABLE 
that caused this specific problem is now fixed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=103190 
>Unformatted:
