udevd cannot sometimes create the symbolic links for a tape device on boot

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content