Subject: install/6675: /var/log/aculog is missing
To: None <gnats-bugs@gnats.netbsd.org>
From: Eric S. Hvozda <hvozda@apicom.com>
List: netbsd-bugs
Date: 12/28/1998 21:22:59
>Number:         6675
>Category:       install
>Synopsis:       /var/log/aculog is missing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 28 18:35:00 1998
>Last-Modified:
>Originator:     Eric S. Hvozda
>Organization:
	
>Release:        20Dec98 -current sources
>Environment:
	
System: NetBSD yale.apicom.com 1.3I NetBSD 1.3I (YALE) #0: Sun Dec 27 16:08:57 EST 1998 hvozda@yale.apicom.com:/usr/src/sys/arch/i386/compile/YALE i386


>Description:
	/var/log/aculog is missing.
>How-To-Repeat:
	add an accoutn to group dialer.  edit /etc/remote to point
	at a known tty and make that tty owned by uucp.dialer.  Now
	tip(1) to the tty and what tip complain about /var/log/aculog
	missing.  Thus no logs are made of dialout activity.
>Fix:
	Make sure /var/log/aculog exists with the proper
	permissions such as in this patch:

*** etc/Makefile.orig	Fri Nov 20 07:14:25 1998
--- etc/Makefile	Mon Dec 28 21:20:48 1998
***************
*** 98,103 ****
--- 98,105 ----
  		${DESTDIR}/var/cron/log
  	${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \
  		${DESTDIR}/var/db/locate.database
+ 	${INSTALL} -c -o uucp -g dialer -m 640 /dev/null \
+ 		${DESTDIR}/var/log/aculog
  	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
  		${DESTDIR}/var/log/authlog
  	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
>Audit-Trail:
>Unformatted: