Score:1

Which process is updating my /etc/hosts file?

ca flag

I have edited my /etc/hosts file but when I reboot the undesirable line I edited is added to my /etc/hosts file.

What process is doing this? Where does it get the hostname and the alias from?

cocomac avatar
cn flag
Just to double-check... are you using a LiveCD or a full Ubuntu install?
ca flag
I'm using a full ubuntu installation. It is a server. So no GUI.
cn flag
Nothing on a default Ubuntu edits /etc/hosts except for 127.0.0.1 and 127.0.1.1+your server name as an alias. There might also be ipv6 versions there. systemd-resolved adds those. systemd-hostnamed does hostname,
ca flag
It is a 127.0.0.1 line that is being added. It is adding it with the old server name and the old hostname as an alias. Which process is doing this? Where is it getting the old information from?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.