Error when updating sudo

Charlie Kester corky1951 at comcast.net
Mon Apr 11 07:26:45 UTC 2011


On Sun 10 Apr 2011 at 23:03:34 PDT Leslie Jensen wrote:
>
>I get the error below when updating/installing sudo
>
>everything in the file /usr/local/etc/sudoers near line 97
>
>is commented out!

If the comment just before line 97 is to be believed, the line beginning
with "#include" is NOT commented out.

I saw the same error and, since my sudoers.d file was empty anyway, I
hacked around the problem by adding a second '#' to the beginning of
that line, so that it was truly commented out.

But as I said, that's a hack and probably not the best solution.

>
>Thanks
>
>/Leslie
>
>
>
>
>-Wl,-soname -Wl,sample_group.so -Wl,-retain-symbols-file 
>-Wl,./sample_group.sym -o .libs/sample_group.so
>libtool: link: ( cd ".libs" && rm -f "sample_group.la" && ln -s 
>"../sample_group.la" "sample_group.la" )
>===>  Installing for sudo-1.8.1
>===>   Generating temporary packing list
>===>  Checking if security/sudo already installed
>if test -d ./.hg && cd .; then  if hg log --style=changelog -b 1.8 > 
>ChangeLog.tmp && hg log --style=changelog -b default --date '<2011-02-25 
>21:30:00' >> ChangeLog.tmp; then  mv -f ChangeLog.tmp ChangeLog;  else 
>rm -f ChangeLog.tmp;  fi;  fi
>for d in compat common  plugins/sudoers src include doc;  do (cd $d && 
>exec make pre-install) && continue;  exit $?;  done
>Checking existing sudoers file for syntax errors.
>visudo: >>> /usr/local/etc/sudoers: /usr/local/etc/sudoers.d near line 
>97 <<<
>parse error in /usr/local/etc/sudoers near line 97
>*** Error code 1
>
>Stop in /usr/ports/security/sudo/work/sudo-1.8.1/plugins/sudoers.
>*** Error code 1
>
>Stop in /usr/ports/security/sudo/work/sudo-1.8.1.
>*** Error code 1
>
>Stop in /usr/ports/security/sudo.
>*** Error code 1
>
>Stop in /usr/ports/security/sudo.
>
>_______________________________________________
>freebsd-ports at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list