sudo-project/sudo

visudo not working

thewanderingtraderm opened this issue · 2 comments

when I run visudo it shows this error : visudo: sudoers_sethost: unable to allocate memory
I am on FreeBSD 15 CURRENT

That's surprising since that function does not allocate much memory. It is possible that the actual problem is due to the hostname not being set. Could that be the case on the affected system? Also, does sudo itself work properly?

I set the hostname and now its fixed