🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Iulius Sun, 22 Apr 2007 11:03
Installing INN 2.5
#76041
Author: Iulius
Date: Sun, 22 Apr 2007 11:03
63 lines
3499 bytes
Hi,

I'm currently build a new INN 2.5 (from the last snapshot) in another
server (I keep my Debian oldstable INN).
I wanted to share some issus.

First of all, there are somme problems with « configure ».
Some options are not recognized (for instance « --datadir=/path ») while
it is mentioned in « configure --help ».  The new data directory path
does not appear in « Makefile.global ».  Is that normal?

I think an error should occur during the first use of « configure »
when you activate perl or python support.  It is only during « make » time
when an error appears if you do not have the relevant libraries.

I also have a problem with « make cert »: the SSL path is not defined
so the command « /openssl » cannot be executed.
Perhaps it is a problem of my own server but it should be better if
the correct path was put in « make cert ».


Regarding samples, shouldn't their paths also be modified?
For instance, in « buffindexed.conf », it would be better if it has
the right overview path, and not the default one in /var.


After the installation, « inncheck -f -perms » is not happy:
# /home/news/db/history:0: mode 664, should be 644
# /home/news/bin/nntpsend:0: mode 555, should be 550
# /home/news/bin/sendbatch:0: missing
# /home/news/bin/send-ihave:0: mode 555, should be 550
# /home/news/bin/send-nntp:0: mode 555, should be 550
# /home/news/bin/send-uucp:0: mode 555, should be 550
# /home/news/bin/expire:0: mode 550, should be 555
# /home/news/bin/makehistory:0: mode 550, should be 555
# /home/news/bin/overchan:0: mode 550, should be 555
# /home/news/bin/prunehistory:0: mode 550, should be 555


As for the page
<http://www.eyrie.org/~eagle/software/inn/docs/install.html>:

* the history database is already created during the installation so
  there is no need to use « makedbz »;
* the default MANPATH is « ~news/share/man » and not « ~news/man »;
* it should perhaps be useful to had two other cronjobs, one for
  « rnews -U » (each hour?) and another one for flushing the DNS
  cache: « ctlinnd -t 300 -s reload incoming.conf "flush cache" ».


I hope that feedback will be of help.


By the way, what is the best practice to update INN 2.5 with another
snapshot in the future?  Only building it with the same options and
then do « make update »?  Is there something else to do?

Regards,

-- 
Iulius

« Aequum est ut cuius participauit lucrum, participet et damnun. »
Re: Installing INN 2.5
#76054
Author: Iulius
Date: Thu, 26 Apr 2007 10:51
23 lines
2037 bytes
En réponse à Iulius :
> I also have a problem with « make cert »: the SSL path is not defined
> so the command « /openssl » cannot be executed.

In fact, $SSLBIN is unset.  Who should set that?


> By the way, what is the best practice to update INN 2.5 with another
> snapshot in the future?  Only building it with the same options and
> then do « make update »?  Is there something else to do?

Well, the update works (I have just tested innbind on 563).
But there is a little problem with man pages.  Why are they renamed
to « *.OLD »?  I believe it should not happen and they should be
replaced (because it raises an error when doing « man ctlinnd »
for instance -> ctlinnd.8.OLD: bad name, ignored).

-- 
Iulius

« Cela n'a rien de remarquable. Il suffit d'appuyer sur la
  bonne touche au bon moment et l'instrument
  joue tout seul. » (J.-S. Bach)
Re: Installing INN 2.5
#76062
Author: Russ Allbery
Date: Thu, 26 Apr 2007 18:36
29 lines
2450 bytes
Iulius <iulius@nom-de-mon-site.com.invalid> writes:
> En réponse à Iulius :

>> By the way, what is the best practice to update INN 2.5 with another
>> snapshot in the future?  Only building it with the same options and
>> then do « make update »?  Is there something else to do?

> Well, the update works (I have just tested innbind on 563).
> But there is a little problem with man pages.  Why are they renamed
> to « *.OLD »?  I believe it should not happen and they should be
> replaced (because it raises an error when doing « man ctlinnd »
> for instance -> ctlinnd.8.OLD: bad name, ignored).

make update in general tries to keep backup copies of everything it
changes except where that would cause problems, and the man page backups
never caused problems that I was aware of in the past.  On the other hand,
it's probably not horribly compelling to be able to easily back out of an
upgrade of the man pages.

It's not clear to me whether the make update backup system is actually
useful for people any more, or if modern system administration practices
have passed it by and people now have better ways of backing out of an
upgrade if they need to.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Installing INN 2.5
#76064
Author: Iulius
Date: Thu, 26 Apr 2007 18:58
12 lines
1592 bytes
En réponse à Russ Allbery :
> It's not clear to me whether the make update backup system is actually
> useful for people any more

We cannot be sure whether nobody needs it any longer.  So I assume
it should be kept, but only for binaries.

-- 
Iulius

« Joli paradoxe : la femme est le chef-d'œuvre de Dieu,
  surtout quand elle a le Diable au corps. » (Alphonse Allais)
Re: Installing INN 2.5
#76066
Author: Mathieu Goutelle
Date: Thu, 26 Apr 2007 21:16
12 lines
1672 bytes
Hello all,

Dans l'article <f0qsod$vop$1@guepard.ecp.fr>, Iulius a écrit :
> We cannot be sure whether nobody needs it any longer.  So I assume
> it should be kept, but only for binaries.

... and probably the config files as well!
Regards,
-- 
Q: Connaissez-vous la différence entre l'ignorance et l'apathie ?
R: J'en sais rien et je m'en fous.
Mathieu Goutelle - http://www.cadichonne.net/
Re: Installing INN 2.5
#76067
Author: Russ Allbery
Date: Thu, 26 Apr 2007 21:16
18 lines
1783 bytes
Mathieu Goutelle <mgoutell@alussinan.org> writes:

> Hello all,

> Dans l'article <f0qsod$vop$1@guepard.ecp.fr>, Iulius a écrit :
>> We cannot be sure whether nobody needs it any longer.  So I assume
>> it should be kept, but only for binaries.

> ... and probably the config files as well!

make update doesn't modify the config files; that's the reason to use it
rather than make install.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Installing INN 2.5
#76080
Author: Steve
Date: Fri, 27 Apr 2007 11:06
12 lines
1592 bytes
On Thu, 26 Apr 2007 11:36:11 -0700, Russ Allbery wrote in
Message-Id: <87abwvouec.fsf@windlord.stanford.edu>:

> It's not clear to me whether the make update backup system is actually
> useful for people any more, or if modern system administration practices
> have passed it by and people now have better ways of backing out of an
> upgrade if they need to.

Personally speaking, I still use 'make update' as it's the documented
way to do it.  INN is one of those systems where I feel that installing
from source is in most circumstances a better option than a packaged
distribution with inbuilt upgrading (that sometimes works).
Re: Installing INN 2.5
#76219
Author: Julien ÉLIE
Date: Wed, 04 Jul 2007 12:40
90 lines
4006 bytes
En réponse à Iulius :
> I also have a problem with « make cert »: the SSL path is not defined
> so the command « /openssl » cannot be executed.
> Perhaps it is a problem of my own server but it should be better if
> the correct path was put in « make cert ».

I do not know whether to use:

INN_PATH_PROG_ENSURE([SSLBIN], [openssl])

or:

AC_PATH_PROGS([SSLBIN], [openssl], [openssl])


Here is a patch for the second option.


Index: Makefile.global.in
===================================================================
--- Makefile.global.in  (révision 7607)
+++ Makefile.global.in  (copie de travail)
@@ -185,6 +185,7 @@
 LN_S		= @LN_S@
 PERL		= @PERL@
 RANLIB		= @RANLIB@
+SSLBIN		= @SSLBIN@
 YACC		= @YACC@
 UNCOMPRESS		= @UNCOMPRESS@

Index: configure.ac
===================================================================
--- configure.ac        (révision 7607)
+++ configure.ac        (copie de travail)
@@ -247,11 +247,13 @@
 AC_ARG_VAR([EGREP], [Location of egrep])
 AC_ARG_VAR([SED], [Location of sed])
 AC_ARG_VAR([SORT], [Location of sort])
+AC_ARG_VAR([SSLBIN], [Location of openssl])
 AC_ARG_VAR([UUX], [Location of uux])
 INN_PATH_PROG_ENSURE([AWK], [awk])
 INN_PATH_PROG_ENSURE([EGREP], [egrep])
 INN_PATH_PROG_ENSURE([SED], [sed])
 INN_PATH_PROG_ENSURE([SORT], [sort])
+AC_PATH_PROGS([SSLBIN], [openssl], [openssl])
 AC_PATH_PROGS([UUX], [uux], [uux])
 INN_PATH_COMPRESS
 INN_PATH_SENDMAIL

Index: Makefile
===================================================================
--- Makefile    (révision 7607)
+++ Makefile    (copie de travail)
@@ -116,7 +116,7 @@

 ##  Install a certificate for TLS/SSL support.
 cert:
- 	$(SSLBIN)/openssl req -new -x509 -nodes \
+ 	$(SSLBIN) req -new -x509 -nodes \
	    -out $(PATHLIB)/cert.pem -days 366 \
	    -keyout $(PATHLIB)/key.pem
	chown $(NEWSUSER) $(PATHLIB)/cert.pem



> Regarding samples, shouldn't their paths also be modified?
> For instance, in « buffindexed.conf », it would be better if it has
> the right overview path, and not the default one in /var.

samples/buffindexed.conf -> samples/buffindexed.conf.in
and adapt the Makefile.

Index: samples/buffindexed.conf
===================================================================
--- samples/buffindexed.conf    (révision 7607)
+++ samples/buffindexed.conf    (copie de travail)
@@ -7,5 +7,5 @@
 # index(0-65535) : path to buffer file :
 #       length of buffer in kilobytes in decimal (1KB = 1024 bytes)

-0:/var/news/spool/overview/OV1:1536000
-1:/var/news/spool/overview/OV2:1536000
+0:@PATHOVERVIEW@/OV1:1536000
+1:@PATHOVERVIEW@/OV2:1536000

-- 
Julien ÉLIE

« Le cercle n'est qu'une ligne droite revenue à
  son point de départ. » (San-Antonio)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads