/etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Running hostname reveals that the hostname is actually localhost.localdomain
Without correcting /etc/hosts the following error occurs with any command that is executed in terminal:
unable to resolve host
After updating /etc/hosts everything runs normally again.
127.0.0.1 localhost.localdomain
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Is this a random error or could there be a deeper reason?