From owner-freebsd-hackers Thu Oct 3 12:34:40 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 7802137B40E for ; Thu, 3 Oct 2002 12:34:29 -0700 (PDT) Received: from nebula.wanadoo.fr (ca-sqy-5-133.abo.wanadoo.fr [80.8.58.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF05B43E3B for ; Thu, 3 Oct 2002 12:34:26 -0700 (PDT) (envelope-from dak@wanadoo.fr) Received: from nebula.wanadoo.fr (localhost [127.0.0.1]) by nebula.wanadoo.fr (8.12.6/8.12.5) with ESMTP id g93Ja5Qw004699; Thu, 3 Oct 2002 21:36:05 +0200 (CEST) (envelope-from dak@nebula.wanadoo.fr) Received: (from dak@localhost) by nebula.wanadoo.fr (8.12.6/8.12.6/Submit) id g93Ja3NF004698; Thu, 3 Oct 2002 21:36:03 +0200 (CEST) Date: Thu, 3 Oct 2002 21:36:02 +0200 From: =?iso-8859-15?Q?Aur=E9lien?= Nephtali To: Firsto Lasto Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: related jail topic - /dev/null often and regularly reverts permissions... Message-ID: <20021003193602.GA4627@nebula.wanadoo.fr> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i 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 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've experimented this when I've rebuilt my world just after the announce of 4.7-RC. mergemaster asked me if I wanted to run MAKEDEV since it had change= d. I think it's this which broke up /dev/null, then i re-runed sh ./MAKEDEV and everything was fine :) I don't know if my second run of MAKEDEV solved the problem (maybe it was f= ixed before I run it again, I don't exactly know) -- Aur=E9lien On Thu, Oct 03, 2002 at 12:25:15PM -0700, Firsto Lasto wrote: >=20 > If you run a jail, and inside that jail is a /dev with the file /dev/null= =20 > in it, the normal 0666 permissions of /dev/null will often get changed to= =20 > 0600. >=20 > I cannot see any reason why this would happen - I thought maybe there was= =20 > something in /etc/rc that would do it, but there is not. Further, the=20 > reversions seem random and irregular - happens in some jails, doesn't in= =20 > others. >=20 > I have witnessed this on multiple jails in multiple different physical=20 > machines, on versions from 4.4 to 4.6.2. >=20 > Anyone have any ideas why this happening ? Has anyone else seen this ? >=20 > Perhaps /dev/null is not the only one this happens to, but just the most= =20 > noticable one ? (many programs break when /dev/null is 0600) >=20 >=20 >=20 > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos:=20 > http://photos.msn.com/support/worldwide.aspx >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9nJwiDNsbHbt8ok8RAr/dAJ9k4TQdzYUgiri2OVWCyOge/+GhvgCfcmx3 qP3qdB+DMHoUN1QoWcHcgDE= =y81H -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message