On Fri, Aug 15, 2014 at 11:07:05PM -0400, Patrick Hemmer wrote: > > My udev rule looks like this: > > > > SUBSYSTEM=="block", SUBSYSTEMS=="xen", ATTR{capability}=="*", > > ACTION=="add", PROGRAM="/ec2disks -A %k", SYMLINK+="%c" > Finally figured out it. For some reason, another event was sometimes > being triggered on the device. My udev rule was matching only 'add' > events, and this other event was apparently something else. So my rule > wouldn't match, and the device would lose the symlinks. > > Just removed the ACTION=="add" from the udev rule and all appears well. Yep. For a similar case see http://cgit.freedesktop.org/systemd/systemd/commit/?id=e0d856dd48. Zbyszek -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html