- check you have all the /etc/sudoers env_keep lines merged in, alternatively use "SUDO=sudo -E" in mk.conf and make sure your user/group has SETENV: permission in sudoers.
By changing SUDO=sudo to SUDO=sudo -E solved my problem. plist successfully generated.
