From owner-freebsd-stable@FreeBSD.ORG Mon Nov 1 20:51:15 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA39D16A4CE for ; Mon, 1 Nov 2004 20:51:15 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EE8643D60 for ; Mon, 1 Nov 2004 20:51:15 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4B97A529DD; Mon, 1 Nov 2004 12:53:06 -0800 (PST) Date: Mon, 1 Nov 2004 12:53:06 -0800 From: Kris Kennaway To: Sven Willenberger Message-ID: <20041101205306.GA97416@xor.obsecurity.org> References: <148cabbc04103117195de9fe4e@mail.gmail.com> <20041101173050.GA66108@xor.obsecurity.org> <1099338588.24107.19.camel@lanshark.dmv.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <1099338588.24107.19.camel@lanshark.dmv.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: Why the mode of /dev/null is changed after system reboot? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 20:51:15 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 01, 2004 at 02:49:48PM -0500, Sven Willenberger wrote: > On Mon, 2004-11-01 at 09:30 -0800, Kris Kennaway wrote: > > On Mon, Nov 01, 2004 at 09:19:12AM +0800, Iva Hesy wrote: > > > I have a gateway running FreeBSD 4.10-p3. Normally, the mode of > > > /dev/null should be 666, but recently, I find that its mode is changed > > > to 600 automatically after reboot, I have checked all /etc/rc* and > > > /usr/local/etc/rc.d/*, but I can't get anything that led to it...:-( > >=20 > > Probably a local error. Try changing scripts to #!/bin/sh -x and > > carefully watch (or log) the boot process. Start with any local > > scripts you have since it's most likely to be a problem there. > >=20 > > Kris >=20 > Actually I have found this happening on my 4.10 boxen as well. I thought > it was some one-time glitch and just chmodded the thing back. Didn't > even think about it until I saw this post. I will try to see if I can > catch the circumstances surrounding it if it happens again. It could be a port doing this at startup, but we still need more debugging.. Kris --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBhqIxWry0BWjoQKURAmkhAJ9QpOGWHyS0CX4yIO6SkY7ZfiQAqgCfQAE/ 7CtWUCDgS7kTC5UqFXuKEMs= =ZJ+2 -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--