From owner-freebsd-hackers Thu Oct 17 9:16:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 860EE37B401 for ; Thu, 17 Oct 2002 09:16:49 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50D6E43E3B for ; Thu, 17 Oct 2002 09:16:47 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A606A66B5E; Thu, 17 Oct 2002 08:54:09 -0700 (PDT) Date: Thu, 17 Oct 2002 08:54:09 -0700 From: Kris Kennaway To: Robert Withrow Cc: freebsd-hackers@freebsd.org Subject: Re: Linux compatibility and /dev/null Message-ID: <20021017155409.GA39947@xor.obsecurity.org> References: <200210171353.g9HDrb211194@zrtps0m6.us.nortel.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <200210171353.g9HDrb211194@zrtps0m6.us.nortel.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 17, 2002 at 09:53:37AM -0400, Robert Withrow wrote: > Hmm??? Doing "chmod 666 /compat/linux/dev/null" fixes the problem. >=20 > This looks like a bug in the linux-base port. I'll file a PR. The port already does this: # # Make sure we have a /dev/null in the chrooted environment. @${MKDIR} ${LINUXBASE}/dev @${RM} -f ${LINUXBASE}/dev/null @mknod ${LINUXBASE}/dev/null c 2 2 @${CHMOD} 666 ${LINUXBASE}/dev/null I don't know why yours didnt do that, but it certainly should have. Kris --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9rt0gWry0BWjoQKURAiREAJ9vNsU2ZTeMs0hWJ/ylh3ur7gXtrgCcCWXc Cco6ugRtMdTW6YaEzdh2IoI= =dfOI -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message