snapd 2.60.2 - cannot create user data directory: /home/DOMAIN/USERNAME/snap/APP/VERSION: Permission denied
Bug #2032679 reported by
Patrick Sudderth
This bug report is a duplicate of:
Bug #2032668: Upgrade snapd from 2.59.5 to 2.60.2 gives apparmor DENIED on app launch.
Edit
Remove
This bug affects 19 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Just received reports from ~80 users that an auto-upgrade of snapd from 2.59.5 to 2.60.2, which occurred last night (Ubuntu 2204 Pro), has broken all snaps. Only way to resolve is to "sudo snap revert snapd". No changes have been made to AppArmor. Error displayed is:
cannot create user data directory: /home/DOMAIN/
apparmor config: /home/DOMAIN/
root@hostname:
Name Version Rev Tracking Publisher Notes
snapd 2.59.5 19457 latest/stable canonical✓ snapd,disabled
snapd 2.60.2 19993 latest/stable canonical✓ snapd
root@hostname:
summary: |
- cannot create user data directory: + snapd 2.60.2 - cannot create user data directory: /home/DOMAIN/USERNAME/snap/APP/VERSION: Permission denied |
no longer affects: | snapd (Ubuntu) |
To post a comment you must log in.
I assume this is related to this note in the release notes. However, there's no documentation on how to configure apparmor for snapd:
"Apparmor userspace is vendored inside the snapd snap"