25.06.2016 14:17, Adam Mizerski пишет:
2) Should the package call "udevadm control
--reload" in %post and
%postun? I've found that there's a macro for this %udev_rules_update
. But I couldn't find any package doing that.
udevd checks rules directories timestamp every 3 seconds and reloads
rules if it changed. Updating file via RPM is guaranteed to update
directory timestamp because RPM creates temporary file first. So the
question is whether you care about 3 seconds window enough to reload
Thanks. That explains a lot.