I recently installed the latest Fedora release. After installation sudo was painfully slow. About 30 seconds until the command executed. The problem was, that the hostname was missing in /etc/hosts:
Before:
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
After:
127.0.0.1 localhost.localdomain localhost noneus-laptop
::1 localhost6.localdomain6 localhost6
In my case the hostname was noneus-laptop. You can figure out your own with the command hostname.
Happy sudoing!
