Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2004 12:53:06 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Sven Willenberger <sven@dmv.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Why the mode of /dev/null is changed after system reboot?
Message-ID:  <20041101205306.GA97416@xor.obsecurity.org>
In-Reply-To: <1099338588.24107.19.camel@lanshark.dmv.com>
References:  <148cabbc04103117195de9fe4e@mail.gmail.com> <20041101173050.GA66108@xor.obsecurity.org> <1099338588.24107.19.camel@lanshark.dmv.com>

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

--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--



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