DragonFly BSD
DragonFly kernel List (threaded) for 2006-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: random premission changes


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Feb 2006 12:00:53 -0800 (PST)

:
:For the past 6+ months I've been seeing /dev/null end up with a
:permission of 700.  This causes services like sendmail and mysql to
:error.  I'm not sure if fsck is changing them after a crash or if it
:is something else going on.  Right now is appears to be random as I've
:not been checking the permissions after every unclean shutdown.
:
:Has anyone else seen this ?
:
:-DR

    We had a bug where inode changes were not being entirely flushed
    to disk on reboot.  It should have been fixed in HEAD last July, though.

    What happens is that MAKEDEV creates /dev/null 600 or something like
    that, and then chmod's it to 666.  The user then reboots, but the 
    chmod doesn't get flushed to the physical disk, so upon reboot 
    /dev/null winds up back at 600.

    But I was sure I fixed that 6 months ago.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]