Package: cloud.debian.org
Severity: normal
X-Debbugs-Cc: hostmas...@synacktik.io

Dear Maintainer,

   * What led up to the situation?

This was not previously an issue some months back as I deployed previous labs 
with the same scripts, but affected Bookworm deployments on 2024-06-01 in Azure.

I found that /etc/hosts IPv4 loopback not configured with real hostname.  This 
results in sudo taking approximately 20 seconds to prompt for password, or run 
command in the case of passwordless.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I changed the IPv4 loopback in /etc/hosts to include the real hostname like so:

127.0.0.1 localhost realhostname

Sudo now works as expected

--
Michael Salivar

Reply via email to