udevd cannot sometimes create the symbolic links for a tape device on boot
Issue
udevd cannot sometimes create the symbolic links for a tape devices on boot with the following custom udev rule.
KERNEL=="st*[0-9]|nst*[0-9]", IMPORT{program}="scsi_id -u -g -x -p 0x80 -d $tempnode"
KERNEL=="st*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="tape/by-serial/$env{ID_SERIAL}"
KERNEL=="nst*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="tape/by-serial/$env{ID_SERIAL}-nst"
Environment
Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.