downloader.test example fails to run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Leo Arias |
Bug Description
Running the binary downloader.test in a recent all-snaps snappy image shows no output.
The snappy-debu scanlog shows:
= AppArmor =
Time: Feb 10 19:11:21
Log: apparmor="DENIED" operation="open" profile=
File: /etc/hosts (read)
Suggestions:
* adjust program to read necessary files from SNAP_APP_PATH
* add '/etc/hosts' to 'read-paths' in security-override
= AppArmor =
Time: Feb 10 19:11:21
Log: apparmor="DENIED" operation="open" profile=
File: /run/resolvconf
Suggestions:
* adjust program to use SNAP_APP_DATA_PATH
* adjust program to use /run/shm/
= AppArmor =
Time: Feb 10 19:11:21
Log: apparmor="DENIED" operation="create" profile=
[Impact]
* For users, none.
* The test is just installing the snap, not executing it. So a regression might be introduced in this code path.
[Test Case]
* Run the snaps tests.
[Regression Potential]
* The snaps tests might start failing. But they are run in the pull request and in the autopkgtest, so we are covered.
Changed in snapcraft: | |
milestone: | none → 2.11 |
assignee: | nobody → Leo Arias (elopio) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in snapcraft: | |
milestone: | 2.12 → 2.13 |
Changed in snapcraft: | |
milestone: | 2.13 → 2.14 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
This apparently doesn't have the 'network-client' old-security/cap applied. The recent changes wrt interfaces does not add 'network-client' if it isn't specified. It needs to be discussed if the new behavior is intentional or not and it not, how to move forward.