udev rules

Loïc Minier loic.minier at ubuntu.com
Tue Mar 21 17:11:43 UTC 2017


On Mon, Mar 20, 2017 at 8:29 PM, Jamie Strandboge <jamie at canonical.com>

> The aksusbd case seems like it could be covered by existing interface
> techniques. The providing snap slots the hasp interface and that interface
> could
> add udev rules that point to (the snappy command aliased)
> /snap/bin/aksusbd.
> There is probably a little thought to be had there since it assumes the
> aksusbd
> alias and that might be somewhat awkward for different slot
> implementations.

Would it make sense to point at a hook for this? The command to handle udev
events doesn't necessarily need to pollute the PATH namespace.

> This would all work for gadget snaps that provide the /dev files (like with
> serial-port, etc) and won't work for classic/hotplugging.

Are you saying these rules would be limited to /dev files described in the

Why wouldn't this work for classic/hotplugging?

- Loïc

More information about the Snapcraft mailing list