Date: Tue, 5 Nov 1996 16:39:35 +0900 (JST) From: nao@sbl.cl.nec.co.jp To: FreeBSD-gnats-submit@freebsd.org Subject: gnu/1961: uucp logging directory Message-ID: <199611050739.QAA06690@sirius.sbl.cl.nec.co.jp> Resent-Message-ID: <199611050750.XAA13620@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1961 >Category: gnu >Synopsis: uucp logging files are in /var/spool/uucp >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 4 23:50:02 PST 1996 >Last-Modified: >Originator: HAMADA Naoki >Organization: none >Release: FreeBSD 2.2-RELEASE i386 >Environment: Standard uucp environment. >Description: Uucp logging files should be located in /var/log/uucp, not in /var/spool/uucp. >How-To-Repeat: See FreeBSD-current/gnu/libexec/uucp/common_sources/policy.h etc. >Fix: A new directory /var/log/uucp should be created under ownership of uucp.uucp. Then apply the following patch to the source tree. Since the logging files are owned by uucp user, their daily maintenance by uucp. diff -ur FreeBSD-current/etc/daily work/etc/daily --- FreeBSD-current/etc/daily Fri Oct 25 17:33:32 1996 +++ work/etc/daily Tue Nov 5 16:14:56 1996 @@ -126,7 +126,7 @@ if [ -d /var/spool/uucp -a -f /etc/uuclean.daily ]; then echo "" echo "Cleaning up UUCP:" - echo /etc/uuclean.daily | su daemon + echo /etc/uuclean.daily | su uucp fi echo "" diff -ur FreeBSD-current/gnu/libexec/uucp/common_sources/policy.h work/gnu/libexec/uucp/common_sources/policy.h --- FreeBSD-current/gnu/libexec/uucp/common_sources/policy.h Fri Oct 25 17:18:30 1996 +++ work/gnu/libexec/uucp/common_sources/policy.h Tue Nov 5 16:06:04 1996 @@ -644,19 +644,19 @@ HAVE_TAYLOR_CONFIG, this may be overridden by the ``logfile'' command in the configuration file. */ /* #define LOGFILE "/usr/spool/uucp/Log" */ -#define LOGFILE "/var/spool/uucp/Log" +#define LOGFILE "/var/log/uucp/Log" /* The default statistics file when using HAVE_TAYLOR_LOGGING. When using HAVE_TAYLOR_CONFIG, this may be overridden by the ``statfile'' command in the configuration file. */ /* #define STATFILE "/usr/spool/uucp/Stats" */ -#define STATFILE "/var/spool/uucp/Stats" +#define STATFILE "/var/log/uucp/Stats" /* The default debugging file when using HAVE_TAYLOR_LOGGING. When using HAVE_TAYLOR_CONFIG, this may be overridden by the ``debugfile'' command in the configuration file. */ /* #define DEBUGFILE "/usr/spool/uucp/Debug" */ -#define DEBUGFILE "/var/spool/uucp/Debug" +#define DEBUGFILE "/var/log/uucp/Debug" #endif /* HAVE_TAYLOR_LOGGING */ diff -ur FreeBSD-current/gnu/libexec/uucp/uucico/uucico.8 work/gnu/libexec/uucp/uucico/uucico.8 --- FreeBSD-current/gnu/libexec/uucp/uucico/uucico.8 Fri Oct 25 17:18:46 1996 +++ work/gnu/libexec/uucp/uucico/uucico.8 Tue Nov 5 16:07:54 1996 @@ -250,7 +250,7 @@ .B \-\-debug abnormal,chat. The debugging output is sent to the debugging file, usually one of -/var/spool/uucp/Debug, /usr/spool/uucp/DEBUG, or +/var/log/uucp/Debug, /usr/spool/uucp/DEBUG, or /usr/spool/uucp/.Admin/audit.local. .TP 5 .B \-I file, \-\-config file @@ -276,13 +276,13 @@ /var/spool/uucp - UUCP spool directory. .br -/var/spool/uucp/Log - +/var/log/uucp/Log - UUCP log file. .br /var/spool/uucppublic - Default UUCP public directory. .br -/var/spool/uucp/Debug - +/var/log/uucp/Debug - Debugging file. .SH SEE ALSO kill(1), uucp(1), uux(1), uustat(1), uuxqt(8) diff -ur FreeBSD-current/gnu/libexec/uucp/uucp/uucp.1 work/gnu/libexec/uucp/uucp/uucp.1 --- FreeBSD-current/gnu/libexec/uucp/uucp/uucp.1 Fri Oct 25 17:18:48 1996 +++ work/gnu/libexec/uucp/uucp/uucp.1 Tue Nov 5 16:07:57 1996 @@ -186,7 +186,7 @@ /var/spool/uucp - UUCP spool directory. .br -/var/spool/uucp/Log - +/var/log/uucp/Log - UUCP log file. .br /var/spool/uucppublic - diff -ur FreeBSD-current/gnu/libexec/uucp/uux/uux.1 work/gnu/libexec/uucp/uux/uux.1 --- FreeBSD-current/gnu/libexec/uucp/uux/uux.1 Fri Oct 25 17:18:52 1996 +++ work/gnu/libexec/uucp/uux/uux.1 Tue Nov 5 16:08:04 1996 @@ -236,7 +236,7 @@ /var/spool/uucp - UUCP spool directory. .br -/var/spool/uucp/Log - +/var/log/uucp/Log - UUCP log file. .br /var/spool/uucppublic - diff -ur FreeBSD-current/gnu/libexec/uucp/uuxqt/uuxqt.8 work/gnu/libexec/uucp/uuxqt/uuxqt.8 --- FreeBSD-current/gnu/libexec/uucp/uuxqt/uuxqt.8 Fri Oct 25 17:18:52 1996 +++ work/gnu/libexec/uucp/uuxqt/uuxqt.8 Tue Nov 5 16:08:05 1996 @@ -64,7 +64,7 @@ .B \-\-debug abnormal,chat. The debugging output is sent to the debugging file, usually one of -/var/spool/uucp/Debug, /usr/spool/uucp/DEBUG, or +/var/log/uucp/Debug, /usr/spool/uucp/DEBUG, or /usr/spool/uucp/.Admin/audit.local. .TP 5 .B \-I file, \-\-config @@ -88,13 +88,13 @@ /var/spool/uucp - UUCP spool directory. .br -/var/spool/uucp/Log - +/var/log/uucp/Log - UUCP log file. .br /var/spool/uucppublic - Default UUCP public directory. .br -/var/spool/uucp/Debug - +/var/log/uucp/Debug - Debugging file. .SH SEE ALSO uucp(1), uux(1), uucico(8) >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611050739.QAA06690>