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

Re: reboot sets /dev/null to 0660



Don Hayward wrote:

I just installed gnome on a Sarge (currently update/upgraded) that had
been enlightenment.  Kernel is 2.6.8-2-k7.

When I reboot, /dev/null, /dev/urandom, /dev/random (and possibly
others) have 0660 permissions, disallowing access by several init.d
scripts that want to write to /dev/null, among other things, until I
manually change the permissions.

I've been searching for where and why in the boot sequence these are
being set, but with no luck.

I don't see anything in the logs I've checked (syslog, messages,
auth, daemon).  I'd appreciate any help or pointers.


That's wrong.  Here is what my /etc/udev/udev/rules looks like
for those devices:

# misc devices
KERNEL="random",        MODE="0666"
KERNEL="urandom",       MODE="0444"
KERNEL="mem",           MODE="0640", GROUP="kmem"
KERNEL="kmem",          MODE="0640", GROUP="kmem"
KERNEL="port",          MODE="0640", GROUP="kmem"
KERNEL="full",          MODE="0666"
KERNEL="null",          MODE="0666"
KERNEL="zero",          MODE="0666"
KERNEL="inotify",       MODE="0666"
KERNEL="sgi_fetchop",   MODE="0666"
KERNEL="sonypi",        MODE="0666"
KERNEL="agpgart",       GROUP="video"
KERNEL="nvram",         GROUP="nvram"
KERNEL="rtc",           MODE="0664", GROUP="audio"
KERNEL="hw_random",     NAME="hwrng"

Perhaps a script modified yours?  Have you recently isntalled
any non-Debian software?

-Roberto

--
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: