From owner-freebsd-hackers Sat Oct 5 13:14:11 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 B2A4037B401 for ; Sat, 5 Oct 2002 13:14:08 -0700 (PDT) Received: from anastasia.lan.barfoos.de (pD9E20760.dip.t-dialin.net [217.226.7.96]) by mx1.FreeBSD.org (Postfix) with SMTP id DA57D43E42 for ; Sat, 5 Oct 2002 13:14:06 -0700 (PDT) (envelope-from jt@barfoos.de) Received: (qmail 76704 invoked by uid 1001); 5 Oct 2002 20:14:02 -0000 Date: Sat, 5 Oct 2002 22:14:02 +0200 From: Jens Trzaska To: Firsto Lasto Cc: freebsd-hackers@freebsd.org Subject: Re: related jail topic - /dev/null often and regularly reverts permissions... Message-ID: <20021005201402.GD73856@anastasia.lan.barfoos.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 4.6-STABLE, i386 X-GPG-Key-ID: = 96FE36DB X-GPG-Key-Fingerprint: 1C9B 7EF8 1A22 1740 9F1B AB7B 17D2 64E1 96FE 36DB X-GPG-Key-Location: http://www.elug.de/schluessel/96FE36DB.asc X-Accept-Language: de,en 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 On Thu, Oct 03, 2002 at 12:25:15PM -0700, Firsto Lasto wrote: > > If you run a jail, and inside that jail is a /dev with the file /dev/null > in it, the normal 0666 permissions of /dev/null will often get changed to > 0600. > > I cannot see any reason why this would happen - I thought maybe there was > something in /etc/rc that would do it, but there is not. Further, the > reversions seem random and irregular - happens in some jails, doesn't in > others. > > I have witnessed this on multiple jails in multiple different physical > machines, on versions from 4.4 to 4.6.2. > > Anyone have any ideas why this happening ? Has anyone else seen this ? I've seen this some weeks ago when I was playing with vinum on some disks. That day I got vinum to panic the system for three times. Every time the permissions on /dev/null were broken on boot. And that was not inside of jails. Jens -- KeyID=96FE36DB Key fingerprint=1C9B 7EF8 1A22 1740 9F1B AB7B 17D2 64E1 96FE 36DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message