You are not logged in.

#1 2008-03-16 10:39:39

mfa
Member
Registered: 2007-10-04
Posts: 19

udev nvram rule issue

Hi there.

After the most recent udev update, the tpb tool stopped working. I figured out, that this was a /dev/nvram permission thing.
The new update obviously introduced a new rule layout, which I hadn't noticed. Now for the problem:

mfa@phobos ~> ls -l /dev/nvram
crw-rw---- 1 root root 10, 144 2008-03-16 12:25 /dev/nvram -> /dev/misc/nvram

The /dev/nvram group was root. Looking at the rules I saw the following:

root@phobos /etc/udev/rules.d> grep nvram *
51-arch.rules:# KERNEL=="nvram",   NAME="misc/%k", SYMLINK+="%k", GROUP="kmem", MODE="0640"
75-nvram.rules:KERNEL=="nvram", NAME="%k", GROUP="nvram", MODE="0660", OPTIONS="last_rule"

However, neither the Groups were set correctly to kmem and nvram, nor the directory permissions. The question is why is that? I could not find any mistakes in the rules.

I do have a solution for me now, I simply commented out the line in 51-arch.rules and I got

root@phobos ~> ls -l /dev/nvram
crw-rw---- 1 root nvram 10, 144 2008-03-16 12:25 /dev/nvram

which works fine.

Does anybody else have this issue? Why does setting the group and permissions fail with the standard rule set?

Cheers,
mfa

Offline

#2 2008-03-16 16:02:48

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 792

Re: udev nvram rule issue

Was there anything about this in /etc/udev/readme-udev-arch.txt?  If not, there may be a bug.

Offline

#3 2008-03-16 16:05:37

mfa
Member
Registered: 2007-10-04
Posts: 19

Re: udev nvram rule issue

Nope, there was nothing about nvram in there...

Offline

Board footer

Powered by FluxBB