bin/147715: am-utils hangs when mountd on remote host is not running

2010-06-09 Thread Daniel Braniss

>Number: 147715
>Category:   bin
>Synopsis:   am-utils hangs when mountd on remote host is not running
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 09 07:00:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Daniel Braniss
>Release:FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD pundit 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #14 r2649: Thu Jun 
3 09:31:34 IDT 2010 da...@rnd:/r+d/obj/rnd/r+d/stable/8/sys/HUJI amd64



>Description:
if /usr/local is automounted via am-utils, it will
hang when accesing a client's portmapper returning
 Program not registered
or in plainer english, when the client is not running mountd.

amd will now try, via strerror, to further report the error
which, when compiled with NLS - the default - will call
catopen(), which will search for catalogs in ...:/usr/local/...:
which will trigger a 'call' to amd, but amd is now hung trying
to print the error ...

>How-To-Repeat:
have /usr/local automounted then, 
ls /net/some-host-not-running-mountd
>Fix:
- use am-utils's supplied strerror.c
BTW, we have been using am-utils 6.2a3 which has
several important bug fixes, so I suggest importing
that version into the base.
>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/147720: ipfw dynamic rules and fwd

2010-06-09 Thread Dmitriy Demidov

>Number: 147720
>Category:   misc
>Synopsis:   ipfw dynamic rules and fwd
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 09 12:30:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Dmitriy Demidov
>Release:FreeBSD 7-STABLE
>Organization:
>Environment:
FreeBSD evo.local.home 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Sat Feb 20 
22:57:09 EET 2010 r...@evo.local.home:/usr/obj/usr/src/sys/STABLE i386
>Description:
There is one bug with ipfw keep-state rules and fwd action.

You are unable to make source based routing of incoming connections using this 
ruleset:

===
# $ext_if1 - ISP1
# $gw1 - ISP1 GW
# $ext_if2 - ISP2
# $gw2 - ISP2 GW
# $int_if - internal net

ipfw add 100 skipto 300 tag 1 in recv $ext_if1 keep-state
ipfw add 200 skipto 300 tag 2 in recv $ext_if2 keep-state
ipfw add 300 allow { recv $ext_if1 or recv $ext_if2 }
ipfw add 400 allow in recv $int_if
ipfw add 500 fwd $gw1 tagged 1
ipfw add 600 fwd $gw2 tagged 2
===


To make it working you should patch /sys/netinet/ipfw/ip_fw2.c with this:


(find this line)
if (!q || dyn_dir == MATCH_FORWARD)

(change it to this)
if (sa->sin_port && (!q || dyn_dir == MATCH_FORWARD))




This problem is presend in FreeBSD 9-CURRENT as well.


Can somebody please merge this patch to CURRENT?


Credits for this patch goes to Vadim Goncharov 
nuclight.livejournal.com/124348.html
>How-To-Repeat:
have FreeBSD host with two NIC's connected to different networks with different 
GW each. Applay ipfw rules from example provided. Start some service 
(SSH/Apache/etc). Make a try to connect to connect to service from network 
behing GW that is not configured as default gateway on FreeBSD host - answer 
will go via second NIC/default GW. keep-state ruleset do not works.
>Fix:
applay patch

>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/147726: termcap needs an entry for rxvt-256color

2010-06-09 Thread Chip

>Number: 147726
>Category:   misc
>Synopsis:   termcap needs an entry for rxvt-256color
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 09 15:00:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sterling (Chip) Camden
>Release:8.1-PRERELEASE
>Organization:
Camden Software Consulting
>Environment:
FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE 
#0: Tue Jun  8 13:58:12 PDT 2010
sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Terminfo include a definition for rxvt-256colors, but termcap does not.  This 
prevents zsh and mutt (and probably others) from using that terminal 
definition.  These utilities complain when TERM is set to rxvt-256colors, even 
though they apparently use terminfo instead of termcap.
>How-To-Repeat:
In zsh,

export TERM=rxvt-256colors

(reproduced if zsh complains that it can't find the terminal definition.

Now start mutt -- reproduced if it will not start, complaining about the 
missing terminal definition.
>Fix:
I added the following to /etc/termcap to fix the symptoms:

rxvt-256color|rxvt terminal emulator with 256 colors:\
:Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt:

>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/85751: [devfs] [panic] panic in devfs_setattr() when running pppd and device disappears

2010-06-09 Thread jh
Synopsis: [devfs] [panic] panic in devfs_setattr() when running pppd and device 
disappears

State-Changed-From-To: open->feedback
State-Changed-By: jh
State-Changed-When: Wed Jun 9 16:16:01 UTC 2010
State-Changed-Why: 
Can you still reproduce this? If you can, are you able to obtain a crash dump?


Responsible-Changed-From-To: freebsd-bugs->jh
Responsible-Changed-By: jh
Responsible-Changed-When: Wed Jun 9 16:16:01 UTC 2010
Responsible-Changed-Why: 
Track.

http://www.freebsd.org/cgi/query-pr.cgi?pr=85751
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/145510: [PATCH] [twa] Removing USB keyboard after filesystems synced causes panic with destroyed mutex

2010-06-09 Thread delphij
Synopsis: [PATCH] [twa] Removing USB keyboard after filesystems synced causes 
panic with destroyed mutex

State-Changed-From-To: open->analyzed
State-Changed-By: delphij
State-Changed-When: Wed Jun 9 20:41:12 UTC 2010
State-Changed-Why: 
The pending twa(4) update would solve this.


Responsible-Changed-From-To: freebsd-bugs->delphij
Responsible-Changed-By: delphij
Responsible-Changed-When: Wed Jun 9 20:41:12 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=145510
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/147741: Update audio/exaile to 0.3.1.2, add LICENSE

2010-06-09 Thread Joseph S. Atkinson

>Number: 147741
>Category:   misc
>Synopsis:   Update audio/exaile to 0.3.1.2, add LICENSE
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 10 00:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Joseph S. Atkinson
>Release:
>Organization:
>Environment:
>Description:
Bring in several stability/bug fixes, and while we are at it, add the LICENSE 
bit for brownie points.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ru /usr/ports/audio/exaile/Makefile exaile/Makefile
--- /usr/ports/audio/exaile/Makefile2010-06-03 17:25:47.0 -0400
+++ exaile/Makefile 2010-06-09 19:55:41.0 -0400
@@ -7,7 +7,6 @@
 
 PORTNAME=  exaile
 PORTVERSION=   ${PORTVERSION_MAJOR}.${PORTVERSION_MINOR}
-PORTREVISION=  1
 CATEGORIES=audio
 MASTER_SITES=  http://launchpad.net/${LP_DIR}/ \
http://wickedmachine.net/mirror/
@@ -17,6 +16,8 @@
 
 RUN_DEPENDS=   py*-mutagen>=1.11:${PORTSDIR}/audio/py-mutagen
 
+LICENSE=   GPLv2
+
 FETCH_ARGS=-pRr
 USE_GNOME= pygtk2 librsvg2
 USE_GSTREAMER= python good
@@ -36,7 +37,7 @@
SEXY "UI enhancements"  On
 
 PORTVERSION_MAJOR= 0.3.1
-PORTVERSION_MINOR= 1
+PORTVERSION_MINOR= 2
 LP_DIR=
${PORTNAME}/${PORTVERSION_MAJOR}/${PORTVERSION}/+download
 
 .include 
diff -ru /usr/ports/audio/exaile/distinfo exaile/distinfo
--- /usr/ports/audio/exaile/distinfo2010-04-19 15:37:41.0 -0400
+++ exaile/distinfo 2010-06-09 19:45:59.0 -0400
@@ -1,3 +1,3 @@
-MD5 (exaile-0.3.1.1.tar.gz) = 4f0e6ce72249027d69653456a0707c57
-SHA256 (exaile-0.3.1.1.tar.gz) = 
e785e08dcf4b7392cfd608118732f2365e9cd5374eed7d473e814208f23e1e3c
-SIZE (exaile-0.3.1.1.tar.gz) = 1897993
+MD5 (exaile-0.3.1.2.tar.gz) = e4f80d3a10631b28485be22cd296a450
+SHA256 (exaile-0.3.1.2.tar.gz) = 
e739cd29842385e2a8fbd5e81646fc2f0488746c72a38e4f5b1ab4729f1704a3
+SIZE (exaile-0.3.1.2.tar.gz) = 1899168


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/147496: ufs_dirbad, nullfs, jail (was: kern/147420: [nfs] kldload nfs modules causes nfs-aware kernel panic after a while)

2010-06-09 Thread linimon
Synopsis: ufs_dirbad, nullfs, jail (was: kern/147420: [nfs] kldload nfs modules 
causes nfs-aware kernel panic after a while)

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Thu Jun 10 00:42:13 UTC 2010
State-Changed-Why: 
Misfiled followup to kern/147420; content migrated.


Responsible-Changed-From-To: gnats-admin->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 10 00:42:13 UTC 2010
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147496
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/147729: rxvt-256color

2010-06-09 Thread linimon
Synopsis: rxvt-256color

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Thu Jun 10 00:46:22 UTC 2010
State-Changed-Why: 
Misfiled followup to kern/147726; content migrated.


Responsible-Changed-From-To: gnats-admin->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 10 00:46:22 UTC 2010
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147729
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: ports/147741: Update audio/exaile to 0.3.1.2, add LICENSE

2010-06-09 Thread linimon
Synopsis: Update audio/exaile to 0.3.1.2, add LICENSE

Class-Changed-From-To: sw-bug->maintainer-update
Class-Changed-By: linimon
Class-Changed-When: Thu Jun 10 00:47:17 UTC 2010
Class-Changed-Why: 
ports PR.


Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 10 00:47:17 UTC 2010
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147741
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/147746: cvsup-master mail-archive/current collection stagnant

2010-06-09 Thread John Marshall

>Number: 147746
>Category:   misc
>Synopsis:   cvsup-master mail-archive/current collection stagnant
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 10 03:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: John Marshall
>Release:FreeBSD
>Organization:
Riverwillow Pty Ltd
>Environment:
FreeBSD CVSup Mirrors

>Description:

There have been no updates to the mail-archive collection on
cvsup-master since 23-May-2010.  There are usually updates for this
collection on each hourly synchronization.

I posted to hubs@ on 26-May-2010 and have seen no response.  I also
forwarded that posting to mirror-admin@, postmaster@ and mailman@ on
28-May-2010 and have seen no response.

Perhaps a PR will help this report find its way to someone who can fix
the problem?

>How-To-Repeat:

(Note: Timestamps are UTC +10:00)

CVSup update begins at 2010-05-23 22:18:01
Updating from cvsup-master.freebsd.org
Connected to cvsup-master.freebsd.org
--- snip ---
Updating collection mail-archive/current
 Append to archive/cvs-all
 Append to archive/cvs-ports
 Append to archive/cvs-src-old
 Replace archive/freebsd-sparc64
 Append to archive/svn-src-all
 Append to archive/svn-src-stable
 Append to archive/svn-src-stable-7
 Append to archive/svn-src-stable-8
Updating collection distrib/self
--- snip ---
Finished successfully
CVSup update ends at 2010-05-23 22:22:29


CVSup update begins at 2010-05-23 23:18:00
Updating from cvsup-master.freebsd.org
Connected to cvsup-master.freebsd.org
--- snip ---
Updating collection mail-archive/current
Updating collection distrib/self
Finished successfully
CVSup update ends at 2010-05-23 23:22:50


>Fix:

No workaround.

I'm guessing a feed job is broken?

>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


kern/147756: open_socket_in: Protocol not supported - after a few days?

2010-06-09 Thread Martin Minkus

>Number: 147756
>Category:   kern
>Synopsis:   open_socket_in: Protocol not supported - after a few days?
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 10 05:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Martin Minkus
>Release:8-STABLE
>Organization:
>Environment:
FreeBSD kinetic.pulse.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Wed May 
26 18:09:14 NZST 2010 
mart...@kinetic.pulse.local:/usr/obj/usr/src/sys/PULSE  amd64

>Description:
Samba 3.4 on FreeBSD 8-STABLE branch.

After a few days I start getting weird errors and windows PC's can't access the 
samba share, have trouble accessing files, etc, and samba becomes totally 
unusable.

Restarting samba doesn't fix it, only a reboot does.

log.smb:

[2010/06/10 17:22:39,  0] lib/util_sock.c:902(open_socket_in)
  open_socket_in(): socket() call failed: Protocol not supported
[2010/06/10 17:22:39,  0] smbd/server.c:457(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Protocol not supported
[2010/06/10 17:22:39,  2] smbd/server.c:676(smbd_parent_loop)
  waiting for connections

log.ANYPC:

[2010/06/08 19:55:55,  0] lib/util_sock.c:1491(get_peer_addr_internal)
  getpeername failed. Error was Socket is not connected
  read_fd_with_timeout: client 0.0.0.0 read error = Socket is not connected.


The code in lib/util_sock.c, around line 902:

/
 Open a socket of the specified type, port, and address for incoming data.
/

int open_socket_in(int type,
uint16_t port,
int dlevel,
const struct sockaddr_storage *psock,
bool rebind)
{
struct sockaddr_storage sock;  
int res;
socklen_t slen = sizeof(struct sockaddr_in);
 
sock = *psock;

#if defined(HAVE_IPV6)
if (sock.ss_family == AF_INET6) {
((struct sockaddr_in6 *)&sock)->sin6_port = htons(port);
slen = sizeof(struct sockaddr_in6);
}
#endif
if (sock.ss_family == AF_INET) {
((struct sockaddr_in *)&sock)->sin_port = htons(port);
}

res = socket(sock.ss_family, type, 0 );
if( res == -1 ) {
if( DEBUGLVL(0) ) {
dbgtext( "open_socket_in(): socket() call failed: " );
dbgtext( "%s\n", strerror( errno ) );
}

In other words, something in the kernel is being exhausted in my case and some 
tuning is required as its failing to create sockets?


/boot/loader.conf:

mvs_load="YES"
zfs_load="YES"
vm.kmem_size="20G"

#vfs.zfs.arc_min="512M"
#vfs.zfs.arc_max="1536M"

vfs.zfs.arc_min="512M"
vfs.zfs.arc_max="3072M"

/etc/sysctl.conf:

kern.ipc.maxsockbuf=2097152

net.inet.tcp.sendspace=262144
net.inet.tcp.recvspace=262144
net.inet.tcp.mssdflt=1452

net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=65535

net.local.stream.recvspace=65535
net.local.stream.sendspace=65535

(those don't seem to fix anything, btw.)

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"