udev rule partially activated after reboot
Issue
- We have an udev-rule to add raw-devices. After a reboot the raw devices are all added but for some of them the 'chown'-command defined in RUN+-statement in the udev-rule is not executed.
The udev-rule:
KERNEL=="dm-*", ENV{DM_UUID}=="part1-mpath-20017380065310fae", RUN+="/bin/raw /dev/raw/raw1 %N", RUN+="/bin/chown sybase:sybase /dev/raw/raw1", RUN+="/bin/ln -sf /dev/raw/raw15 /dest_dir"
No error-messages in boot.log or in the messages-file. The only thing i find in boot.log:
./boot.log.1:Starting udev: [ OK ]
./boot.log.1:Retrigger failed udev events [ OK ]
It does not occur on every server (4 servers are adding the same raw-devices and on some of them no problem is occurring- and not always (after each reboot the result can be different).
Environment
- Red Hat Enterprise Linux (RHEL) 6.5
- udev
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.