Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 08:54:09 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Robert Withrow <bwithrow@nortelnetworks.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Linux compatibility and /dev/null
Message-ID:  <20021017155409.GA39947@xor.obsecurity.org>
In-Reply-To: <200210171353.g9HDrb211194@zrtps0m6.us.nortel.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, Oct 17, 2002 at 09:53:37AM -0400, Robert Withrow wrote:

> Hmm???  Doing "chmod 666 /compat/linux/dev/null" fixes the problem.
> 
> 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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9rt0gWry0BWjoQKURAiREAJ9vNsU2ZTeMs0hWJ/ylh3ur7gXtrgCcCWXc
Cco6ugRtMdTW6YaEzdh2IoI=
=dfOI
-----END PGP SIGNATURE-----
help

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