improve rc.udev reload
After upgrade to 14.0 I note some issues with rc.udev reload - copy command drop write permission of already mounted /dev/shm.
Result is that some applications run as non superuser fail in call of sem_open() .
Probably this is obsolete work-around for old udev versions.
What about to replace copy command with two new lines that trigger change event for both valid device types ?
There is a safer way of reloading udev database and rules anyway--
First command in rc.udev reload in case of reload is "udevadm control --reload" .
Post is about second line "cp --preserve=all --recursive --update /lib/udev/devices/* $UDEV_ROOT". This command remove write permissions from /dev/shm.
a) It could be resolved if source directory (/lib/udev/devices/shm) is with correct write permissions.
b) to remove second line
I guess that previous post mean that is save to remove line.
|All times are GMT -5. The time now is 06:26 PM.|