Date: Mon, 25 Feb 2002 22:57:59 -0800 (PST) From: Jerry Murdock <jerry_murdock@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/35336: Linux emulation inside jail returns wrong hostname Message-ID: <200202260657.g1Q6vxU78486@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 35336 >Category: misc >Synopsis: Linux emulation inside jail returns wrong hostname >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 25 23:00:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jerry Murdock >Release: 4.5 -Stable from 02/18 >Organization: iTrak Technologies >Environment: FreeBSD obsd.itraktech.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Feb 18 21:39:35 EST 2002 fw@dcbsd.itraktech.com:/tmp/LINKED/obj/var/USR/src/sys/FIREWALL45 i386 >Description: Using linux_base-7, gethostname calls from linux programs do not return the jail hostname, but instead return the hostname of the "physical" server. >How-To-Repeat: 1: Create jail per man page 2: Install linux_bas-7 port 3: Grab net-tools-1.57-6.i386.rpm to get the Linux "hostname" binary. 4: Run the linux hostname ftp://ftp.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/net-tools-1.57-6.i386.rpm >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202260657.g1Q6vxU78486>