Comment 2 for bug 401091

Revision history for this message
Johannes Meixner (jsmeix) wrote :

FYI:

A note when you revise the HPLIP udev rules regarding LABELs:

Bad:
... GOTO="pid_test"
LABEL="pid_test"

Good:
... GOTO="hpmud_pid_test"
LABEL="hpmud_pid_test"

Having unique labels in all udev files on the whole system is crucial.
The reason is that all udev files are concatenated to one single
big blob of data wherein all labels must be unique.
Otherwise GOTO="ambiguous_label" would jump to an
arbitrary LABEL="ambiguous_label" target.
Therefore one must make sure with appropriate name prefixes
that all labels in all udev files are unique.
Perhaps nowadays there might be this or that subtle exception
from the general rule but to be on the safe side, I recommend
to use appropriate name prefixes in any case.

Welcome to the hell of udev/HAL!