PATH is not set after namespace is initialized
Bug #1630479 reported by
Federico Gimenez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snap-confine |
Fix Released
|
Critical
|
Zygmunt Krynicki | ||
snap-confine (Ubuntu) |
Fix Released
|
Critical
|
Zygmunt Krynicki | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This happens in a amd64 image using the classic snap from edge in devmode, this are the snap versions:
test@localhost:~$ snap list
Name Version Rev Developer Notes
classic 16.04 15 canonical devmode
core 16.04.1 15 canonical -
pc 16.04-0.8 9 canonical -
pc-kernel 4.4.0-38-1 21 canonical -
When trying to execute classic commands this is the output:
test@localhost:~$ sudo classic "sudo apt update && apt install -y git golang-go"
Creating classic environment
test@localhost:~$ sudo classic "sudo apt update && apt install -y git golang-go"
cannot open mount namespace file for namespace group classic. errmsg: Permission denied
summary: |
- permission denied while opening mount namespace file + PATH is not set after namespace is initialized |
Changed in snap-confine: | |
status: | In Progress → Fix Committed |
Changed in snap-confine: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is fixed by the following pull request: https:/ /github. com/snapcore/ snap-confine/ pull/162