On 2021-06-07 10:30 a.m., Jerry James wrote:
On Sun, Jun 6, 2021 at 10:20 AM Frank <bea...@videotron.ca> wrote:
I noticed this morning that network manager is spamming my log with
messages repeated every 3 or 4 seconds.


Jun 06 11:58:22 localhost.localdomain NetworkManager[787]: <info>
[1622995102.8297] policy: set-hostname: current hostname was changed
outside NetworkManager: fedora

Jun 06 11:58:22 localhost.localdomain NetworkManager[787]: <info>
[1622995102.8299] policy: set-hostname: set hostname to
localhost.localdomain (from address lookup)


It repeats these messages every 3 or 4 seconds.

This apparently has been going on for a few days at least.

There is a bug 1894137 -  But it was filed last November.
Also https://bugzilla.redhat.com/show_bug.cgi?id=1893223, filed last
October.  And see:

https://lists.fedoraproject.org/archives/list/de...@lists.fedoraproject.org/message/SV26LZTNV42GXBMZVYAFRMBBGKYUI7VN/

For me, running "hostnamectl" showed that the static hostname was
"localhost" and the transient hostname was "fedora", apparently
because somebody thought the latter was a good idea.  The nonmatching
hostnames triggered NetworkManager to spam the logs, which is the
second bug.  Both should be fixed, but the fact that nobody is paying
attention to bugs filed last fall is not encouraging.

The workaround I resorted to was to use hostnamectl to make the static
and transient hostnames match.

  Strange this bug has been around for 6+ months with apparently no action.

Anyway I did as you suggested, but unless I put that extra keyword into /etc/NetworkManager/NetworkManager.conf (hostname-mode=none) the

repetitive logging continues.  I used hostnamectl to make all the names match, but it needed that keyword.  Is that what you had to do or

was simply making the names match enough ?


Thanks


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to