[InterNetNews/inn] 1570cc: Do not bail when a FQDN is not found
Julien ÉLIE
noreply at github.com
Sun Sep 29 12:17:08 UTC 2024
Branch: refs/heads/main
Home: https://github.com/InterNetNews/inn
Commit: 1570ccd3e53ff0e78466c3fe5e0eea493691ee5d
https://github.com/InterNetNews/inn/commit/1570ccd3e53ff0e78466c3fe5e0eea493691ee5d
Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
Date: 2024-09-29 (Sun, 29 Sep 2024)
Changed paths:
M doc/pod/inn.conf.pod
M doc/pod/libinn.pod
M doc/pod/news.pod
M include/inn/paths.h.in
M lib/Makefile
M lib/getfqdn.c
M lib/innconf.c
Log Message:
-----------
Do not bail when a FQDN is not found
Improve how the check works at startup:
- recognize an INN_HOSTNAME environment variable that, when set and
fully qualified, is taken by INN as the hostname;
- make non-fatal the check for a fully qualified hostname. This way,
the warning appears in the logs, and the news admin will see it and
can take appropriate actions. The installation of INN will no longer
fail when using the Debian package (and probably also from other
distributions) on Docker.
The second point is normally enough to solve the issue of this ticket.
The environment variable permits silencing the warning.
close #311
To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications
More information about the inn-committers
mailing list