syslog error about localhost

Sarunas Burdulis sarunas at math.dartmouth.edu
Sat Jul 15 17:15:50 UTC 2023


On 2023-07-15 12:12, Jerry Geis wrote:
> I see this in syslog
> 
> Jul 15  11:04:12 lsi003a systemd-resolved[545]: /etc/hosts:2: hostname 
> "localhost.(none)" is not valid, ignoring.
> 
> 
> My /etc/hosts file
> 127.0.0.1 localhost
> 127.0.0.1 localhost.(none)
> 
> Whats up ?

A quick fix would be to remove the offending line and things will be 
good. The real “what's up” should be about which network config utility 
messed up, as it looks like a bug.

-- 
Sarunas Burdulis
Dartmouth Mathematics
https://math.dartmouth.edu/~sarunas

· https://useplaintext.email ·

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230715/9f49bb8f/attachment.sig>


More information about the ubuntu-users mailing list