Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2003 09:08:48 +0800
From:      Clive Lin <clive@tongi.org>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        Kris Kennaway <kris@obsecurity.org>, Fred Souza <fred@storming.org>, current@freebsd.org, ume@freebsd.org
Subject:   Re: Linux networking emulation broken?
Message-ID:  <20030207010848.GA48438@fatpipi.cirx.org>
In-Reply-To: <20030206222826.GA15446@walton.maths.tcd.ie>
References:  <20030206162353.GA935@torment.storming.org> <20030206190021.GB17316@rot13.obsecurity.org> <20030206222826.GA15446@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030207010848.GA48438>