Hide Forgot
Description of problem: udev RUN+= command is silently ignored when rule is applied at boot but operates normally when system is running. This is shown when connecting USB hardware. I have tried an Arduino Diecimila and a WinTV USB tuner. Version-Release number of selected component (if applicable): udevd 145 How reproducible: Very, it seems independent of USB hardware connected Steps to Reproduce: Using a WinTV USB tuner for example 1. Create udev rule ' KERNEL=="tuner0", SYMLINK+="wintv", RUN+="/bin/touch /tmp/wintv.log" ' 2. plug in WinTV USB 3. Reboot with WinTV USB plugged in Actual results: After reboot the symlink /dev/wintv is present linking to /dev/video0 but the empty file /tmp/wintv.log is not present Expected results: The symlink /dev/wintv should be present and also the empty file /tmp/wintv.log should be present Additional info: The udev rule functions correctly if the USB device is plugged in with the system running. This has been tried on Fedora 12 i686, Fedora 14 i686, Fedora 14 x86_64. This has also been tested and found to work correctly from boot on Ubuntu 10.04 and 10.10.
/tmp is not yet writeable at boot time... Try: KERNEL=="tuner0", SYMLINK+="wintv", RUN+="/bin/touch /dev/wintv.log" and check /dev/wintv.log