Could not create symlink to hw device with udev rules

Bug #1496319 reported by Carlo Lobrano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Won't Fix
Undecided
Unassigned

Bug Description

At the time of writing the only way to add Udev rules is using the hw-assing tool and only to assign a specific device node to a module.

In many applications other udev rules are needed, e.g. ability to create symlinks to use self picked device name in snap and or source code, execute commands when a device is connected, etc.

Related branches

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Currently[1], oem snaps are able to add udev snippets to tag devices via the 'assign' yaml. It should be possible with hw-assign to resolve the symlink and tag the device in a similar manner.

Note: aiui, hw-assign is being reworked and there may be another mechanism in the future.

[1]https://wiki.ubuntu.com/SecurityTeam/Specifications/SnappyConfinement#Cgroups

Revision history for this message
Carlo Lobrano (c-lobrano) wrote :

I would like to try and add this feature.

summary: - Could not create custom udev rules
+ Could not create symlink to hw device with udev rules
Revision history for this message
Michael Vogt (mvo) wrote :

The hw-assign command got removed in ubuntu-core-16

Changed in snappy:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.