Activity log for bug #1497299

Date Who What changed Old value New value Message
2015-09-18 13:51:22 Carlo Lobrano bug added bug
2015-09-18 13:52:10 Carlo Lobrano description Each call to hw-assign for a given snap overwrites the (possibly) existing udev rule in 70-snappy_hwassign_<snapname>.rules. The list "write_path" in <snapname>.json.additional is correctly updated, instead. Expected behavior: The udev rule "70-snappy_hwassign_<snapname>.rules" contains all the device nodes also present in <snapname>.json.additional's write_path. Following a copy of the content of both file after a sequence of calls to hw-assign: (amd64)ubuntu@localhost:/var/lib/apparmor/clicks$ sudo cat minicom.saviq.json.additional { "write_path": [ "/dev/ttyUSB*", "/dev/simlink", "/dev/simlink2", "/dev/simlink3" ], "read_path": [ "/run/udev/data/*" ] } (amd64)ubuntu@localhost:/var/lib/apparmor/clicks$ cat /etc/udev/rules.d/70-snappy_hwassign_minicom.saviq.rules KERNEL=="simlink3", TAG:="snappy-assign", ENV{SNAPPY_APP}:="minicom.saviq" (amd64)ubuntu@localhost:/var/lib/apparmor/clicks$ Each call to hw-assign for a given snap overwrites the (possibly) existing udev rule in 70-snappy_hwassign_<snapname>.rules. The list "write_path" in <snapname>.json.additional is correctly updated, instead. Expected behavior: The udev rule "70-snappy_hwassign_<snapname>.rules" contains all the device nodes also present in <snapname>.json.additional's write_path. Following a copy of the content of both files after a sequence of calls to hw-assign: (amd64)ubuntu@localhost:/var/lib/apparmor/clicks$ sudo cat minicom.saviq.json.additional {   "write_path": [     "/dev/ttyUSB*",     "/dev/simlink",     "/dev/simlink2",     "/dev/simlink3"   ],   "read_path": [     "/run/udev/data/*"   ] } (amd64)ubuntu@localhost:/var/lib/apparmor/clicks$ cat /etc/udev/rules.d/70-snappy_hwassign_minicom.saviq.rules  KERNEL=="simlink3", TAG:="snappy-assign", ENV{SNAPPY_APP}:="minicom.saviq" (amd64)ubuntu@localhost:/var/lib/apparmor/clicks$
2015-09-22 15:33:08 Launchpad Janitor branch linked lp:~c-lobrano/snappy/snappy
2015-09-22 21:46:30 Jamie Strandboge snappy: importance Undecided Critical
2015-09-22 21:46:35 Jamie Strandboge snappy: status New Triaged
2015-09-25 15:33:22 Snappy Tarmac snappy: status Triaged Fix Committed
2016-04-09 23:18:58 Leo Arias snappy: status Fix Committed Fix Released