Commit 4cdaf3c
committed
fix(snap): use bundled ssh client under strict confinement
Strict snap sandbox connect/create shells were still trying to exec the host OpenSSH binary.
Observed failure:
- `apparmor="DENIED" operation="exec" class="file" profile="snap.openshell.openshell" name="/usr/bin/ssh" requested_mask="x" denied_mask="x"`
Bundle `openssh-client` in the snap so the CLI uses the bundled binary under strict confinement.
Signed-off-by: Alex Lewontin <alex.lewontin@canonical.com>1 parent 26a02f1 commit 4cdaf3c
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments