[sudo-users] visudo: internal error, tried to emalloc2(0)

Michael W. Lucas mwlucas at michaelwlucas.com
Sun Aug 11 08:35:49 MDT 2013


Hi,

I'm running sudo 1.8.7 (from packages) on FreeBSD 9.1, and can
reliably generate $SUBJECT with the following sudoers rule:

Defaults:%wheel !lecture

visudo tells the the configuration file is OK:

# visudo -c
/usr/local/etc/sudoers: parsed OK

but when I try to run visudo, I get:

# visudo
visudo: internal error, tried to emalloc2(0)
#

Removing the "don't lecture wheel" rule fixes the issue.

Any suggestions?

Thanks,
==ml

-- 
Michael W. Lucas  -  mwlucas at michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code "ILUVMICHAEL" gets you 30% off & helps me.


More information about the sudo-users mailing list