This is not a problem with Slackware, it is an upgrade issue to do with my setup, and seems to be related to udev. In keeping with the CHANGES AND HINTS TEXT all udev rules have numerical prefixes (I have observed all the change requirements with respect to other services also. *Truly*, I have been over this process many times). Kernel is a 2.6.21.5-smp using an initrd to boot. (Same issue with other kernels on my system).
After adding a udev rule for a palm device (completely unrelated) and restarting udev, and then opening a terminal in user mode, I get the message;
Quote:
-bash /dev/null Permission denied
username@box:~$
|
If I log out of the desktop or restart, I can't login, which is to be expected as there is no rw access to /dev/null for the user. Root is OK.
50.udev.rules kernel line
Quote:
KERNEL=="null", NAME="%k", MODE="0666"
|
After restarting udev, or following a reboot (the same thing).
Quote:
$ls -l /dev/null
crw-rw---- 1 root root 1, 3 2005-11-21 12:22 /dev/null
|
Change permissions and naturally everything works fine.
Quote:
$chmod 666 /dev/null
crw-rw-rw- 1 root root 1, 3 2005-11-21 12:22 /dev/null
|
At the moment I have chmod etc embedded in a startup script.
I have tried several options relating to mount -o commands that I found on the net, in LQ, and other resources, however, they either didn't work, were not of much help or inconclusive. I can probably fix this with a few pointers in the right direction.
Thanks.
Edit.
Deleting /dev/null and creating a new null was of no use as /dev/null is recreated during boot and the permission problem remains.