Article View: news.software.nntp
Article #89072Re: Ready-to-use installation of a news server
From: Russ Allbery
Date: Sat, 15 Jan 2022 01:30
Date: Sat, 15 Jan 2022 01:30
31 lines
2543 bytes
2543 bytes
meff <email@example.com> writes:
> I think it's fine for a container to be highly opinionated. If the user
> wants to go their own way, they can edit the container or work with INN
> and create their own container/systemd unit/runit script etc. I'm
> thinking the container could be something like "beginner mode" where the
> user opts-in to all the decisions made for them.
That's fine so far as it goes, but to take a specific example, what groups
should the container carry? This isn't just an opinionated decision; it
really goes to the heart of why someone is running a news server. I'm
betting most people don't really want a full feed including all the
regional and language hierarchies. They may just want fr.*, for instance.
That said, the really hard part is the feed configuration and some
entirely local parameters like the site name for the Path header.
Normally in containerized software this information is injected as
parameters, via environment variables or whatnot, but INN is very much not
set up to do that, so it would require code changes (and ones that aren't
entirely obvious, such as how to configure feeds).
If I were building a news server from scratch designed to be
containerized, I'd put that sort of configuration in a database and then
provide an authenticated API to add and remove feeds. That would be nice
to have! But that's a whole project.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87tue56b03.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<sr6b9t$1ejhd$1@news.trigofacile.com> <srsqet$1gdm$1@gioia.aioe.org> <srt311$a3$1@tncsrv09.home.tnetconsulting.net> <srt50i$jmv$1@dont-email.me> <874k657r3z.fsf@hope.eyrie.org> <srt6vq$jmv$2@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <87tue56b03.fsf@hope.eyrie.org> Subject: Re: Ready-to-use installation of a news server Date: Fri, 14 Jan 2022 17:30:52 -0800 From: Russ Allbery <eagle@eyrie.org> References: <sr6b9t$1ejhd$1@news.trigofacile.com> <srsqet$1gdm$1@gioia.aioe.org> <srt311$a3$1@tncsrv09.home.tnetconsulting.net> <srt50i$jmv$1@dont-email.me> <874k657r3z.fsf@hope.eyrie.org> <srt6vq$jmv$2@dont-email.me> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="4191"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:mo9B6LbIWXXSShic7q8DR+JrpVc=