Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 21:36:02 +0200
From:      =?iso-8859-15?Q?Aur=E9lien?= Nephtali <aurelien.nephtali@wanadoo.fr>
To:        Firsto Lasto <firstolasto@hotmail.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: related jail topic - /dev/null often and regularly reverts permissions...
Message-ID:  <20021003193602.GA4627@nebula.wanadoo.fr>
In-Reply-To: <F354C0ydXtfGkeIByvU00007605@hotmail.com>
References:  <F354C0ydXtfGkeIByvU00007605@hotmail.com>

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

[-- Attachment #1 --]
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 changed.
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 fixed
before I run it again, I don't exactly know)

-- Aurélien

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 ?
> 
> Perhaps /dev/null is not the only one this happens to, but just the most 
> noticable one ? (many programs break when /dev/null is 0600)
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9nJwiDNsbHbt8ok8RAr/dAJ9k4TQdzYUgiri2OVWCyOge/+GhvgCfcmx3
qP3qdB+DMHoUN1QoWcHcgDE=
=y81H
-----END PGP SIGNATURE-----

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