ports/150519: [PATCH] net-p2p/transmission-daemon
well-wisher
regex at bk.ru
Mon Sep 13 08:40:02 UTC 2010
>Number: 150519
>Category: ports
>Synopsis: [PATCH] net-p2p/transmission-daemon
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 13 08:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: well-wisher
>Release:
>Organization:
>Environment:
FreeBSD Null 8.1-STABLE FreeBSD 8.1-STABLE #9 r211535M: Sat Aug 21 15:35:12 YEKST 2010 di at Null:/usr/obj/usr/src/sys/Null amd64
>Description:
if system build WITHOUT_INET6="YES" and WITHOUT_INET6_SUPPORT="YES"
transmission floods syslog with tons of messages like
Sep 13 14:02:05 Null transmission-daemon[13492]: Couldn't create socket: Protocol not supported (fdlimit.c:651)
Sep 13 14:02:15 Null last message repeated 5 times
Sep 13 14:04:19 Null last message repeated 29 times
>How-To-Repeat:
>Fix:
put patch below to net-p2p/transmission-cli/files/patch-aa
(according to man-page, BSD-implementation of `socket' syscall never sets EAFNOSUPPORT)
Patch attached with submission follows:
--- libtransmission/fdlimit.c.orig 2010-09-13 14:17:18.000000000 +0600
+++ libtransmission/fdlimit.c 2010-09-13 14:04:19.000000000 +0600
@@ -646,7 +646,7 @@
if( gFd->socketCount < gFd->socketLimit )
if( ( s = socket( domain, type, 0 ) ) < 0 )
{
- if( sockerrno != EAFNOSUPPORT )
+ if( sockerrno != EPROTONOSUPPORT )
tr_err( _( "Couldn't create socket: %s" ),
tr_strerror( sockerrno ) );
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list