Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 1997 08:20:03 -0700 (PDT)
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        freebsd-ports
Subject:   Re: ports/4626: inn port, active file contains control characters
Message-ID:  <199709261520.IAA10108@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/4626; it has been noted by GNATS.

From: Andreas Klemm <andreas@klemm.gtn.com>
To: Ollivier Robert <roberto@keltia.freenix.fr>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, torstenb@FreeBSD.ORG
Subject: Re: ports/4626: inn port, active file contains control characters
Date: Fri, 26 Sep 1997 16:53:10 +0200

 On Fri, Sep 26, 1997 at 12:57:29AM +0200, Ollivier Robert wrote:
 > According to andreas@FreeBSD.ORG:
 > > 	run actsyncd on a regular basis... So the active file gets rewritten
 > > 	completely.
 > > 	1 18 * * * /usr/local/news/bin/actsyncd /usr/local/news/lib/actsync.cfg
 > > 
 > > 	Possibly it's related to MMAP ?! Didn't rebuild inn without MMAP
 > 
 > Do it. We (or INN) still have a problem somewhere that cause zero-ed pages
 > to be inserted into active, generally after processing a control message
 > like "newgroup".
 
 BTW: this is the set of patches I's like to see in the current inn port,
 the /var/news/tmp is needed, if newsspool lives on another partition
 than /var/tmp. Otherwise rnews can't unpack/spool news articles
 (unlink over filesystems not possible).
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/news/inn/Makefile,v
 retrieving revision 1.24
 diff -u -r1.24 Makefile
 --- Makefile	1997/09/15 20:11:44	1.24
 +++ Makefile	1997/09/26 14:48:09
 @@ -56,9 +56,13 @@
  	if [ -d /var/spool/news ] && [ ! -d /var/news ]; then \
  		${MKDIR} -m 0775 /var/spool/news/over.view; \
  		chown news.news /var/spool/news/over.view; \
 +		${MKDIR} -m 0775 /var/spool/news/tmp; \
 +		chown news.news /var/spool/news/tmp; \
  	else \
  		${MKDIR} -m 0775 /var/news/over.view; \
  		chown news.news /var/news/over.view; \
 +		${MKDIR} -m 0775 /var/news/tmp; \
 +		chown news.news /var/news/tmp; \
  	fi
  	${MKDIR} ${PREFIX}/news/locks
  	chown news.news ${PREFIX}/news/locks
 Index: files/config.data
 ===================================================================
 RCS file: /home/ncvs/ports/news/inn/files/config.data,v
 retrieving revision 1.11
 diff -u -r1.11 config.data
 --- config.data	1997/09/15 20:11:45	1.11
 +++ config.data	1997/09/26 14:49:23
 @@ -343,7 +343,7 @@
  ##
  ##  Use read/write to update the active file, or mmap?  Pick READ or MMAP.
  #### =()<ACT_STYLE		@<ACT_STYLE>@>()=
 -ACT_STYLE		MMAP
 +ACT_STYLE		READ
  ##  Do you want mail notifications of bad control messages. DO or DONT
  ##  Setting it to do results in a lot of mail with the number of spammers
  ##  out there.
 @@ -647,7 +647,7 @@
  _PATH_SPOOLNEWS		!!NEWSSPOOL!!/in.coming
  ##  Where rnews creates temporary files until finished
  #### =()<_PATH_SPOOLTEMP		@<_PATH_SPOOLTEMP>@>()=
 -_PATH_SPOOLTEMP		/var/tmp
 +_PATH_SPOOLTEMP		!!NEWSSPOOL!!/tmp
  ##  Where rnews puts bad input.
  #### =()<_PATH_BADNEWS		@<_PATH_BADNEWS>@>()=
  _PATH_BADNEWS		!!NEWSSPOOL!!/in.coming/bad
 
 -- 
 Andreas Klemm | klemm.gtn.com - powered by
                     Symmetric MultiProcessor FreeBSD
                        http://www.freebsd.org/~fsmp/SMP/SMP.html
                           http://www.freebsd.org/~fsmp/SMP/benches.html



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