Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 22:30:40 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Kris Kennaway <kris@obsecurity.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, arch@FreeBSD.ORG
Subject:   Re: (almost) Ready to ditch device major numbers.
Message-ID:  <20030227063039.GA88321@rot13.obsecurity.org>
In-Reply-To: <20030227040145.GA25640@dan.emsphone.com>
References:  <28750.1046295228@critter.freebsd.dk> <20030227033854.GA87187@rot13.obsecurity.org> <20030227040145.GA25640@dan.emsphone.com>

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

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 26, 2003 at 10:01:45PM -0600, Dan Nelson wrote:
> In the last episode (Feb 26), Kris Kennaway said:
> > On Wed, Feb 26, 2003 at 10:33:48PM +0100, Poul-Henning Kamp wrote:
> > > We are now (almost) ready to ditch device major numbers if we want
> > > to.
> >=20
> > There are a number of ports that create device nodes in the package
> > tarball (e.g. the linux_base ports which create a shadow /dev).  How
> > will this be affected under your plans?
>=20
> linux_base-7.1_2 doesn't put anything in /compat/linx/dev, and I don't
> see anything in linux_base-6's plist that indicates it does, either.
>=20
> Anything that tries to generate a device node in /dev from userland
> should already fail anyway, right?  devfs won't let you do anything
> except make symlinks.

No, it definitely does.  I noticed this because I recently made a
change to the bento package builds so they build packages in a jail
instead of a chroot.  A number of packages (3-4) failed because they
try and mknod at install-time, which is disallowed within a jail.

See e.g.

http://bento.freebsd.org/errorlogs/i386-4-exp-latest/linux_base-7.1_2.log

Kris

--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+XbCPWry0BWjoQKURAhu3AJ4ldM/ax0qaovIAmCp+wF5O/U2N6QCg4sFg
/FMF2erHr5H9sz4/ngE09F8=
=zNZI
-----END PGP SIGNATURE-----

--UugvWAfsgieZRqgk--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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