Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 00:26:42 -0700
From:      Charlie Kester <corky1951@comcast.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Error when updating sudo
Message-ID:  <20110411072642.GD54431@comcast.net>
In-Reply-To: <4DA299B6.5040303@eskk.nu>
References:  <4DA299B6.5040303@eskk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110411072642.GD54431>