Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 13:51:01 -0700
From:      Paul Beard <paulbeard@gmail.com>
To:        Philip Paeps <philip@freebsd.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/177416: mail/postgrey has surfaced a bug in perl's taint checking
Message-ID:  <34DD4198-DEEF-4FB5-A613-D521D6B707A8@gmail.com>
In-Reply-To: <20130621203055.GA36696@rincewind.paeps.cx>
References:  <201304031610.r33GA1MP005384@freefall.freebsd.org> <20130621203055.GA36696@rincewind.paeps.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jun 21, 2013, at 1:30 PM, Philip Paeps <philip@freebsd.org> wrote:

> One way to fix this would be to look for every port that depends on
> p5-Getopt-Long and make that dependency conditional on versions of =
perl
> which don't have a bundled Getopt::Long.  But perhaps there is a more
> elegant way?

I thought I might test this.=20

[root@shuttle /usr/ports/devel/p5-Getopt-Long]# service postgrey status
postgrey is running as pid 62138.
[root@shuttle /usr/ports/devel/p5-Getopt-Long]# service postgrey stop
Stopping postgrey.
Waiting for PIDS: 62138.
[root@shuttle /usr/ports/devel/p5-Getopt-Long]# make install=20
[=85]
postgrey --inet 10023 --pidfile=3D/var/run/postgrey.pid --user=3Dpostgrey =
--group=3Dpostgrey        --dbdir=3D/var/db/postgrey=20
2013/06/21-13:39:38 postgrey (type Net::Server::Multiplex) starting! =
pid(63376)
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/mach/IO/Socket.pm line 80.
[root@shuttle /usr/ports/devel/p5-Getopt-Long]# make deinstall clean=20
=3D=3D=3D>  Deinstalling for devel/p5-Getopt-Long
=3D=3D=3D>   Deinstalling p5-Getopt-Long-2.39
=3D=3D=3D>  Cleaning for p5-Getopt-Long-2.39
[root@shuttle /usr/ports/devel/p5-Getopt-Long]# postgrey --inet 10023 =
--pidfile=3D/var/run/postgrey.pid --user=3Dpostgrey --group=3Dpostgrey   =
     --dbdir=3D/var/db/postgrey=20
2013/06/21-13:39:54 postgrey (type Net::Server::Multiplex) starting! =
pid(63434)
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/mach/IO/Socket.pm line 80.

postgrey --unix=3D/var/run/postgrey.sock --pidfile=3D/var/run/postgrey.pid=
 --user=3Dpostgrey --group=3Dpostgrey        --dbdir=3D/var/db/postgrey=20=

2013/06/21-13:42:10 postgrey (type Net::Server::Multiplex) starting! =
pid(63698)
Binding to UNIX socket file "/var/run/postgrey.sock"
Setting gid to "225 225"
Setting uid to "225"

So it looks like I still can't get it to work with a socket (I wish I =
had tried before the install/deinstall of Getopt-Long).=20

As I have no inbound mail service (thx, Comcast), it's no longer an =
issue for me.=20

--
Paul Beard

This space intentionally left blank.=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34DD4198-DEEF-4FB5-A613-D521D6B707A8>