snapd icon indicating copy to clipboard operation
snapd copied to clipboard

interfaces/builtin/hardware-udev-control: add new interface

Open xnox opened this issue 4 years ago • 3 comments

Allows to control udev daemon via its control socket, and trigger uevents on any devices.

xnox avatar Nov 24 '21 12:11 xnox

Codecov Report

Merging #11104 (6cacf91) into master (dd765c3) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #11104   +/-   ##
=======================================
  Coverage   78.18%   78.19%           
=======================================
  Files         915      916    +1     
  Lines      103705   103714    +9     
=======================================
+ Hits        81085    81097   +12     
+ Misses      17525    17523    -2     
+ Partials     5095     5094    -1     
Flag Coverage Δ
unittests 78.19% <100.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
interfaces/builtin/hardware_udev_control.go 100.00% <100.00%> (ø)
cmd/snap/cmd_debug_state.go 70.64% <0.00%> (+0.45%) :arrow_up:
store/cache.go 71.15% <0.00%> (+1.92%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dd765c3...6cacf91. Read the comment docs.

codecov-commenter avatar Nov 24 '21 16:11 codecov-commenter

For some reasons my spread test fails & need to make it a super interface. Hence setting to draft for now.

xnox avatar Nov 25 '21 12:11 xnox

Somehow my snap-files indicate that snapd has buggy apparmor vendor pull request not reverted.

xnox avatar Nov 25 '21 13:11 xnox

New proposal is smaller in scope, and more specific to nvidia-assemble snap https://github.com/snapcore/snapd/pull/12591

xnox avatar Feb 23 '23 11:02 xnox

Not needed right now, and not interested in developing this further for now.

xnox avatar May 24 '23 10:05 xnox