This one time, at band camp, Marc Haber said: > And here is the attachment.
> Index: debian/changelog
> ===================================================================
> --- debian/changelog (revision 645)
> +++ debian/changelog (working copy)
> @@ -1,8 +1,10 @@
> adduser (3.96.0) UNRELEASED; urgency=low
>
> * NOT RELEASED YET
> + * Don't show rpcinfo -p errors to the user.
> + Thanks to Michael Prokop. Closes: #381923
>
> - -- Marc Haber <[EMAIL PROTECTED]> Mon, 31 Jul 2006 07:08:01 +0000
> + -- Marc Haber <[EMAIL PROTECTED]> Tue, 8 Aug 2006 09:07:58 +0000
>
> adduser (3.96) unstable; urgency=low
>
> Index: AdduserCommon.pm
> ===================================================================
> --- AdduserCommon.pm (revision 645)
> +++ AdduserCommon.pm (working copy)
> @@ -20,8 +20,12 @@
> } elsif(-f "/etc/init.d/nis") {
> $nisconfig = "/etc/init.d/nis";
> }
> + # find out whether a local ypserv is running
> + # We can ditch any rpcinfo error since if the portmapper is
> nonfunctional,
> + # we couldn't connect to ypserv anyway. If this assumption is invalid,
> + # please file a bug and suggest a better way.
> if(defined($nisconfig) && -f "/var/yp/Makefile" &&
> - -x "/usr/bin/rpcinfo" && grep(/ypserv/, qx{/usr/bin/rpcinfo -p})) {
> + -x "/usr/bin/rpcinfo" && grep(/ypserv/, qx{/usr/bin/rpcinfo -p
> 2>/dev/null})) {
> open(NISCONFIG, "<$nisconfig");
> if(grep(/^NISSERVER=master/, <NISCONFIG>)) {
> system("make", "-C", "/var/yp");
/me approves.
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : [EMAIL PROTECTED] |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
signature.asc
Description: Digital signature

