[Pkg-auth-maintainers] Bug#899299: libu2f-udev: Post-inst script should make udev reload rules

Philipp Kern pkern at debian.org
Mon Jun 4 20:20:09 BST 2018


On 6/3/18 7:20 PM, James Cowgill wrote:
> This can be done by running "udevadm trigger". By default every device
> on the system will be triggered which is a bit heavyweight, so you
> probably want to add some *match parameters to restrict this to the
> devices you're interested in (see the udevadm man page).

Is this synchronous, or does one also need a call to "udevadm settle"? I
had a problem with kpartx where the loop devices were not available
after the package was installed, likely because of a race. I wonder if a
feature request would make sense to integrate udev with debhelper so
that the correct snippet could be generated for various packages'
postinsts instead of everyone who ships a rules file hand-rolling it. Of
course if people actually need to write complicated rules to select the
rules to re-trigger, that seems much more difficult to do...

Kind regards
Philipp Kern

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-auth-maintainers/attachments/20180604/f41464db/attachment.sig>


More information about the Pkg-auth-maintainers mailing list