INN and docker default hostnames

Julien ÉLIE julien at trigofacile.com
Sun Sep 29 14:44:51 UTC 2024


Hi Richard,

>> How can INN determine that its installation is not finished?
> 
> It can't, and it shouldn't pretend that it can.

Agreed.


> If the goal is uniqueness (the comments don't say)
[...]
> I expect innd's refusal to start would cause the Debian package setup to 
> fail.

Thanks for your valuable comments.
I've just committed the proposed changes in 
<https://github.com/InterNetNews/inn/issues/311> to CURRENT.

I will commit them to STABLE next week.

 From NEWS:

     The check for a fully qualified domain name for the local host at
     startup still produces a warning in the logs but is no longer fatal.
     The installation of INN was otherwise failing under some
     circumstances like when creating a Docker image.  Additionally, the
     INN_HOSTNAME environment variable, if set and fully qualified, is
     now taken by INN as the hostname.


Also added in README and INSTALL:

     If you want to create a Docker image, you can find examples of
     standard local Docker containers or GitHub Actions services in
     projects like <https://github.com/cclauss/apt-get-inn2-docker> or
     <https://github.com/greenbender/inn-docker>.

It will certainly be useful for future news admins wishing to do that.

-- 
Julien ÉLIE

« En voyant le lit vide, il le devint. » (Ponson du Terrail)



More information about the inn-workers mailing list