ssh can't call a binary from a snap without the full path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Committed
|
Medium
|
Oliver Grawert | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Medium
|
Oliver Grawert | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
Bionic |
New
|
Undecided
|
Unassigned | ||
Focal |
New
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Medium
|
Oliver Grawert | ||
openssh (Debian) |
New
|
Unknown
|
|||
openssh (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned | ||
pam (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[impact]
ssh can't call a binary from a snap, it will only work using the full path.
[test case]
Create a container. Install the go snap (and make sure golang-go is not installed). Run "ssh <container-ip> go version" and check the binary is found.
[regression potential]
It's a pam change an they are always a bit scary but the code follows the existing pattern for updating PATH in /etc/environment and has been tested in groovy.
[original description]
Let's say I have the hello snap installed in 192.168.122.24. Then:
elopio@
elopio@
bash: hello: command not found
elopio@
elopio@
Hello, world!
Changed in snappy: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Oliver Grawert (ogra) |
Changed in livecd-rootfs (Ubuntu): | |
status: | New → Fix Committed |
Changed in snappy: | |
status: | Confirmed → Fix Committed |
Changed in livecd-rootfs (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Oliver Grawert (ogra) |
tags: | added: rls-gg-incoming |
Changed in livecd-rootfs (Ubuntu): | |
status: | Fix Committed → Fix Released |
tags: | removed: rls-gg-incoming |
Changed in pam (Ubuntu Groovy): | |
importance: | Undecided → Medium |
tags: | added: id-5ec69c5a5bc4156ecefb75a0 |
tags: | added: patch |
no longer affects: | snapd (Ubuntu) |
no longer affects: | snapd (Ubuntu Groovy) |
Changed in openssh (Debian): | |
status: | Unknown → New |
description: | updated |
Changed in openssh (Ubuntu Xenial): | |
status: | New → Won't Fix |
Changed in openssh (Ubuntu Bionic): | |
status: | New → Won't Fix |
Changed in openssh (Ubuntu Focal): | |
status: | New → Won't Fix |
tags: | added: fr-78 |
Changed in openssh (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in openssh (Ubuntu Groovy): | |
status: | Confirmed → Won't Fix |
Changed in openssh (Ubuntu): | |
status: | Invalid → Confirmed |
affects: | snappy → snapd |
This affects the mosh snap: https:/ /github. com/elopio/ mosh/blob/ snapcraft/ snapcraft. yaml