SOLVED! (revised, cleaned up repost w/ added CAVEAT)
Yes, this works.
It's a MORE CORRECT solution - not as good as having Apple fix the problem, but it's pretty clear that if they were going to fix it, they would have by now.
This allows settings to stay enabled, and eliminates the error message.
CAREFUL, though... Be sure to have an open root window so you don't lock yourself out. (^C means enter Ctrl-C to terminate the 'cat' command.)
This worked for me: (option A)
sudo sh
<password entered; results in superuser prompt - #>
mv /usr/bin/sudo /usr/bin/sudo-real
cat > /usr/bin/sudo
#!/bin/sh
SUDO=/usr/bin/sudo-real
exec $SUDO $* 2>> /dev/null #Normal users can't write to /var/log/sudu-wrapper-output
^C
sh-3.2# chmod +x /usr/bin/sudo
Now,
mysudo works as sudo always did.
Please click 'Like' if this helped you.
CAVEAT: You can simply name it sudo, not mysudo, but the reason I name it mysudo is that my sudo wrapper has some bugs. It doesn't work in some complicated situations: It may fail if there's file redirection going on, or subshells are being launched with it.
so, for example this alias I wrote didn't work after my sudo wrapper had been put in place as 'sudo' (so I moved it to mysudo):
alias du--sortedK20asRoot="sudo sh -c '(test -r du--sortedALLk && mv du--sortedALLk du--sortedALLk.$RANDOM.bak) ; (du -skx * .??* | sort -n | tee du--sortedALLk | tail -20) ; chown elvey du--sortedALLk'"
If you want to be more cautious, do this instead: (option B)
sudo sh
<password entered; results in superuser prompt - #; no mv>
cat > /usr/bin/mysudo
#!/bin/sh
SUDO=/usr/bin/sudo-real
exec $SUDO $* 2>> /dev/null #Normal users can't write to /var/log/sudu-wrapper-output
^C
sh-3.2# chmod +x /usr/bin/mysudo