🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jeffrey M. Vinocur Sun, 09 Oct 2005 02:40
File locations in packaged distributions of INN
#72430
Author: Jeffrey M. Vinocur
Date: Sun, 09 Oct 2005 02:40
77 lines
5088 bytes
As we all know, many linux distribution maintainers supply INN
via their package systems (RPM, etc), and rearrange the locations
of various parts of INN to suit their own filesystem conventions.

Unfortunately, this is very confusing for system administrators,
because the documentation is not updated to reflect the modified
locations of files.

You can always get the details of how your system is configured
by looking in inn.conf at "pathnews" and similar parameters.  But
for convenience, here are comparisons of INN's default locations
with some of the most common packages.

(data courtesy of John F. Morse)


               DEFAULT                          DEBIAN
pathnews:      /usr/local/news                  /usr/lib/news
pathbin:       /usr/local/news/bin              /usr/lib/news/bin
pathcontrol:   /usr/local/news/bin/control      /usr/lib/news/bin/control
pathdb:        /usr/local/news/db               /var/lib/news
pathetc:       /usr/local/news/etc              /etc/news
pathfilter:    /usr/local/news/bin/filter       /etc/news/filter
pathhttp:      /usr/local/news/log              /var/log/news
pathlog:       /usr/local/news/log              /var/log/news
pathrun:       /usr/local/news/run              /var/run/news
pathtmp:       /usr/local/news/tmp              /var/spool/news/incoming/tmp
pathspool:     /usr/local/news/spool            /var/spool/news
patharchive:   /usr/local/news/spool/archive    /var/spool/news/archive
patharticles:  /usr/local/news/spool/articles   /var/spool/news/articles
pathincoming:  /usr/local/news/spool/incoming   /var/spool/news/incoming
pathoutgoing:  /usr/local/news/spool/outgoing   /var/spool/news/outgoing
pathoverview:  /usr/local/news/spool/overview   /var/spool/news/overview


               DEFAULT                          FEDORA
pathnews:      /usr/local/news                  /usr/lib/news
pathbin:       /usr/local/news/bin              /usr/lib/news/bin
pathcontrol:   /usr/local/news/bin/control      /usr/lib/news/bin/control
pathdb:        /usr/local/news/db               /var/lib/news
pathetc:       /usr/local/news/etc              /etc/news
pathfilter:    /usr/local/news/bin/filter       /usr/lib/news/bin/filter
pathhttp:      /usr/local/news/log              /var/log/news
pathlog:       /usr/local/news/log              /var/log/news
pathrun:       /usr/local/news/run              /var/run/news
pathtmp:       /usr/local/news/tmp              /var/lib/news/tmp
pathspool:     /usr/local/news/spool            /var/spool/news
patharchive:   /usr/local/news/spool/archive    /var/spool/news/archive
patharticles:  /usr/local/news/spool/articles   /var/spool/news/articles
pathincoming:  /usr/local/news/spool/incoming   /var/spool/news/incoming
pathoutgoing:  /usr/local/news/spool/outgoing   /var/spool/news/outgoing
pathoverview:  /usr/local/news/spool/overview   /var/spool/news/overview


               DEFAULT                          MANDRAKE
pathnews:      /usr/local/news                  /usr
pathbin:       /usr/local/news/bin              /usr/bin
pathcontrol:   /usr/local/news/bin/control      /usr/lib/news/bin/control
pathdb:        /usr/local/news/db               /var/lib/news
pathetc:       /usr/local/news/etc              /etc/news
pathfilter:    /usr/local/news/bin/filter       /usr/lib/news/bin/filter
pathhttp:      /usr/local/news/log              /var/log/news
pathlog:       /usr/local/news/log              /var/log/news
pathrun:       /usr/local/news/run              /var/run/news
pathtmp:       /usr/local/news/tmp              /usr/tmp
pathspool:     /usr/local/news/spool            /var/spool/news
patharchive:   /usr/local/news/spool/archive    /var/spool/news/archive
patharticles:  /usr/local/news/spool/articles   /var/spool/news/articles
pathincoming:  /usr/local/news/spool/incoming   /var/spool/news/incoming
pathoutgoing:  /usr/local/news/spool/outgoing   /var/spool/news/outgoing
pathoverview:  /usr/local/news/spool/overview   /var/spool/news/overview



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: File locations in packaged distributions of INN
#72431
Author: Garrett Wollman
Date: Sun, 09 Oct 2005 03:18
28 lines
2386 bytes
In article <di9vu1$48g$2@puck.litech.org>,
Jeffrey M. Vinocur <jeff@litech.org> wrote:

>You can always get the details of how your system is configured
>by looking in inn.conf at "pathnews" and similar parameters.  But
>for convenience, here are comparisons of INN's default locations
>with some of the most common packages.

The FreeBSD Ports Collection configures INN thusly:

wollman@hergotha(479)$ make -DPACKAGE_BUILDING -V CONFIGURE_ARGS
--mandir=/usr/local/man  --prefix=/usr/local/news
--with-spool-dir=/usr/local/news/spool  --with-log-dir=/var/log/news
--with-perl  --with-tmp-dir=/usr/local/news/spool/tmp
--with-openssl=/usr  --enable-ipv6  --with-etc-dir=/usr/local/news/etc
--enable-largefiles

However, I find it hard to imagine that a user would actually install
the binary package.  (Perhaps it's a failure of imagination on my
part.)  All of those paths can be configured from the port's Makefile.

-GAWollman

-- 
Garrett A. Wollman    | As the Constitution endures, persons in every
wollman@csail.mit.edu | generation can invoke its principles in their own
Opinions not those    | search for greater freedom.
of MIT or CSAIL.      | - A. Kennedy, Lawrence v. Texas, 539 U.S. 558 (2003)
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