From owner-freebsd-current Thu Feb 6 17: 9: 0 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C04B437B401; Thu, 6 Feb 2003 17:08:58 -0800 (PST) Received: from fatpipi.cirx.org (fatpipi.cirx.org [211.23.144.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80D4D43F93; Thu, 6 Feb 2003 17:08:57 -0800 (PST) (envelope-from clive@tongi.org) Received: from fatpipi.cirx.org.rose (nullmail@localhost.cirx.org [127.0.0.1]) by fatpipi.cirx.org (8.12.6/8.12.6) with SMTP id h1718nLx049016; Fri, 7 Feb 2003 09:08:49 +0800 (CST) (envelope-from clive@tongi.org) Received: (nullmailer pid 49014 invoked by uid 1000); Fri, 07 Feb 2003 01:08:49 -0000 Date: Fri, 7 Feb 2003 09:08:48 +0800 From: Clive Lin To: David Malone Cc: Kris Kennaway , Fred Souza , current@freebsd.org, ume@freebsd.org Subject: Re: Linux networking emulation broken? Message-ID: <20030207010848.GA48438@fatpipi.cirx.org> References: <20030206162353.GA935@torment.storming.org> <20030206190021.GB17316@rot13.obsecurity.org> <20030206222826.GA15446@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030206222826.GA15446@walton.maths.tcd.ie> X-Operating-System: FreeBSD i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 06, 2003 at 10:28:26PM +0000, David Malone wrote: > On Thu, Feb 06, 2003 at 11:00:21AM -0800, Kris Kennaway wrote: > > I'm also seeing this with Linux Phoenix, though I haven't tcpdumped > > the output. > > I'm guessing the short patch at: > > http://www.maths.tcd.ie/~dwmalone/linux_sendmsg.patch > > should help. Can you try it and let me know? > > David. Hi, After playing around yp and the patch, I got a simple result: the application runs happily without yp configured, no matter the patch applied or not. I disable yp by simply hitting "domainname ''", and re-enable it by hitting "domainname mynisdomainname". The application mentioned above is winconnect (http://www.thinsoftinc.com/products_winconnect_info.html), a RDP 5.1 capable client for Linux. I think the yp ability inside linux emulator is somewhat broken. Some other interesting output: As normal user: > id clive uid=1000(clive) gid=1000(clive) groups=1000(clive), 0(wheel), 989(samba) > /compat/linux/bin/sh do_ypcall: clnt_call: RPC: Timed out [hangs for a moment here] sh-2.04$ whoami do_ypcall: clnt_call: RPC: Timed out [hangs for a moment here] whoami: cannot find username for UID 1000 As root: > sudo su - # id clive uid=1000(clive) gid=1000(clive) groups=1000(clive), 0(wheel), 989(samba) # /compat/linux/bin/sh sh-2.04# id uid=0(root) gid=0(wheel) groups=0(wheel),5(operator) sh-2.04# id clive do_ypcall: clnt_call: RPC: Timed out [hangs for a moment here] id: clive: No such user sh-2.04# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message