From owner-freebsd-bugs Mon Feb 25 23: 0:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2AF2937B405 for ; Mon, 25 Feb 2002 23:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1Q703r78924; Mon, 25 Feb 2002 23:00:03 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C58A237B417 for ; Mon, 25 Feb 2002 22:57:59 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1Q6vxU78486; Mon, 25 Feb 2002 22:57:59 -0800 (PST) (envelope-from nobody) Message-Id: <200202260657.g1Q6vxU78486@freefall.freebsd.org> Date: Mon, 25 Feb 2002 22:57:59 -0800 (PST) From: Jerry Murdock To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/35336: Linux emulation inside jail returns wrong hostname Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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