[pacman-dev] [PATCH 10/11] makepkg: do not ask sudo password twice

Andres P aepd87 at gmail.com
Thu Jun 17 10:37:56 EDT 2010


On Thu, Jun 17, 2010 at 10:00 AM, Allan McRae <allan at archlinux.org> wrote:
> I think I have found the issue here.   We obviously have a NOPASSWD entry in
> our sudoers file so "sudo -l" does not require a password.
>
> So the bug is confirmed.  However the fix is not fully functional as if I
> have sudo installed but can not use it for pacman, then I can no longer fall
> back to using "su -c".  I'd choose excess password typing over functionality
> loss.
>
Eureka! I was just about to mail the sudo maintainer.

Anyhow,

What if there's a check for sudo's retval like I posted in the comments?

Andres P


More information about the pacman-dev mailing list