Commit [ab34e7]  Maximize  Restore  History

Restrict udev action triggers to device changes

The existing udev rule is triggered for all udev events
that may include changes to any directory under /sys/ .
For e.g, an error log entry creation on PowerKVM can
trigger vpdupdate, which is unnecessary.

Make the rule more stricter and mark the vpdupdate run
only when there are changes under /sys/devices/

Reported-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>

Suzuki K. Poulose Suzuki K. Poulose 2014-03-12

changed 90-vpdupdate.rules
90-vpdupdate.rules Diff Switch to side-by-side view
Loading...