snap fails to refresh a snap when a home directory is encrypted with fscrypt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
on my system snap sometimes fails to refresh a snap with the following error messages:
# snap refresh
error: cannot perform the following tasks:
- Copy snap "chromium" data (cannot copy "/home/
According to those error messages, snap is not able to handle my home directory that is encrypted with fscrypt.
$ fscrypt status .
"." is encrypted with fscrypt.
Policy: c036e60805532bcc
Options: padding:32 contents:
Unlocked: Yes
Protected with 1 protector:
PROTECTOR LINKED DESCRIPTION
6b76ac84fec508fe No login protector for bonnaudl
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: snapd 2.44.3+20.04
Uname: Linux 5.6.11-
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Sat May 9 18:51:12 2020
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
tags: | added: groovy hirsute |
Status changed to 'Confirmed' because the bug affects multiple users.