From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 29 22:50:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 56C32B9B for ; Fri, 29 Mar 2013 22:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 48FECE8C for ; Fri, 29 Mar 2013 22:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2TMo3QK060100 for ; Fri, 29 Mar 2013 22:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2TMo3mQ060099; Fri, 29 Mar 2013 22:50:03 GMT (envelope-from gnats) Date: Fri, 29 Mar 2013 22:50:03 GMT Message-Id: <201303292250.r2TMo3mQ060099@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Paul Beard Subject: Re: ports/177416: mail/postgrey has surfaced a bug in perl's taint checking X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Beard List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 22:50:03 -0000 The following reply was made to PR ports/177416; it has been noted by GNATS. From: Paul Beard To: Darren Pilgrim Cc: "bug-followup@FreeBSD.org" Subject: Re: ports/177416: mail/postgrey has surfaced a bug in perl's taint checking Date: Fri, 29 Mar 2013 15:46:37 -0700 =3D=3D=3D>>> The following actions were performed: Installation of devel/p5-IO-Multiplex (p5-IO-Multiplex-1.13) Installation of net/p5-Socket6 (p5-Socket6-0.23) Installation of net/p5-IO-Socket-INET6 (p5-IO-Socket-INET6-2.69) Installation of dns/p5-Net-DNS (p5-Net-DNS-0.72) Installation of net/p5-Net-Server (p5-Net-Server-2.007) Re-installation of postgrey-1.34_4 [root@shuttle /usr/ports]# postgrey --inet=3D10023 = --pidfile=3D/var/run/postgrey.pid --user=3Dpostgrey --group=3Dpostgrey = --dbdir=3D/var/db/postgrey 2013/03/29-15:36:21 postgrey (type Net::Server::Multiplex) starting! = pid(95738) Resolved [localhost]:10023 to [::1]:10023, IPv6 Resolved [localhost]:10023 to [::1]:10023, IPv6 Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Duplicate configuration (TCP) on [::1]:10023 with IPv6) - skipping Duplicate configuration (TCP) on [127.0.0.1]:10023 with IPv4) - skipping Binding to TCP port 10023 on host ::1 with IPv6 Insecure dependency in socket while running with -T switch at = /usr/local/lib/perl5/site_perl/5.14.2/mach/IO/Socket.pm line 80. Now check out the date on that file.=20 ls -l /usr/local/lib/perl5/site_perl/5.14.2/mach/IO/Socket.pm=20 -r--r--r-- 1 root wheel 13572 May 13 2009 = /usr/local/lib/perl5/site_perl/5.14.2/mach/IO/Socket.pm=20 I think I have a ghost at this point. I deleted that entire hierarchy = before reinstalling perl from scratch and the ports noted above.=20 pkg_which /usr/local/lib/perl5/site_perl/5.14.2/mach/IO/Socket.pm=20 [Updating the pkgdb in /var/db/pkg ... - 1617 = packages found (-41 +0) (...) done] p5-IO-1.25,1 [root@shuttle /usr/ports]# ls -l /usr/local/lib/perl5/site_perl/ total 8 drwxr-xr-x 152 root wheel 3584 Mar 29 15:12 5.14.2 [root@shuttle /usr/ports]# ls -l `which perl` lrwxr-xr-x 1 root wheel 25 Mar 29 11:31 /usr/bin/perl -> = /usr/local/bin/perl5.14.2 [root@shuttle /usr/ports]# pkg_delete -df /var/db/pkg/p5-IO-1.25,1 deleted with no dependency warnings, so it was cruft after all.=20 postgrey --inet=3D10023 --pidfile=3D/var/run/postgrey.pid = --user=3Dpostgrey --group=3Dpostgrey --dbdir=3D/var/db/postgrey 2013/03/29-15:41:44 postgrey (type Net::Server::Multiplex) starting! = pid(96283) Resolved [localhost]:10023 to [::1]:10023, IPv6 Resolved [localhost]:10023 to [::1]:10023, IPv6 Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Duplicate configuration (TCP) on [::1]:10023 with IPv6) - skipping Duplicate configuration (TCP) on [127.0.0.1]:10023 with IPv4) - skipping Binding to TCP port 10023 on host ::1 with IPv6 Insecure dependency in socket while running with -T switch at = /usr/local/lib/perl5/5.14.2/mach/IO/Socket.pm line 80. [root@shuttle /usr/ports]# ls -l = /usr/local/lib/perl5/5.14.2/mach/IO/Socket.pm -r--r--r-- 1 root wheel 13834 Mar 29 11:28 = /usr/local/lib/perl5/5.14.2/mach/IO/Socket.pm pkg_which /usr/local/lib/perl5/5.14.2/mach/IO/Socket.pm [Updating the pkgdb in /var/db/pkg ... - 1616 = packages found (-1 +0) (...) done] perl-5.14.2_3 postgrey still bails on the taint flag and refuses to daemonize if you = go with a socket.=20 Are we having fun yet?=20 -- Paul Beard Are you trying to win an argument or solve a problem?=20