Public bug reported:

systemd version the issue has been seen with

systemd 259 (259.5-0ubuntu3)
Used distribution

Kubuntu 26.04
Linux kernel version used

7.0.0-14-generic
CPU architectures issue was seen on

None
Component

No response
Expected behaviour you didn't see
Flatpak and systemd-homed with encryption: Incompatibility issue
Environment

    OS: Kubuntu 26.04
    File System: F2FS
    Home Encryption: systemd-homed with fscrypt
    Hardware: DELL Precision M4800

Problem Description

I am experiencing a persistent incompatibility between Flatpak and
systemd-homed when encryption is enabled. According to initial analysis,
the issue stems from communication failures between the encrypted home
directory and unencrypted parts of the system during the
installation/mounting process.

Dear developers, I would greatly appreciate an update to address this 
compatibility gap. My system configuration is not overly exotic, making the 
lack of out-of-the-box support for encrypted home directories quite frustrating.
Terminal Error Output

When attempting a standard installation, the process fails with
revokefs-fuse errors:

$ flatpak install flathub org.mozilla.firefox
Looking for matches…
[...]
[✗] org.gtk.Gtk3theme.Breeze 3.22 i flathub 114,6 kB / 192,5 kB
[✗] org.mozilla.firefox.Locale stable i flathub 870,1 kB / 41,1 MB
[✗] org.mozilla.firefox stable i flathub 119,0 MB / 120,3 MB

Warning: Could not unmount revokefs-fuse filesystem at 
/var/tmp/flatpak-cache-0G8TO3/org.gtk.Gtk3theme.Breeze-J55TO3: Child process 
exited with code 1
Warning: Could not unmount revokefs-fuse filesystem at 
/var/tmp/flatpak-cache-0G8TO3/org.mozilla.firefox.Locale-93ZYO3: Child process 
exited with code 1
error: Failed to install org.mozilla.firefox: Could not unmount revokefs-fuse 
filesystem at /var/tmp/flatpak-cache-0G8TO3/org.mozilla.firefox-CMMUO3: Child 
process exited with code 1

### Unexpected behaviour you saw

_No response_

### Steps to reproduce the problem

_No response_

### Additional program output to the terminal or log subsystem
illustrating the issue

```sh

Workaround / Current Solution
To bypass the encryption-related mounting issues, I have to manually redirect 
the temporary directory to /tmp (which is outside the encrypted home).

Successful installation script:

for app in com.github.unrud.VideoDownloader com.github.vkohaupt.vokoscreenNG 
com.obsproject.Studio org.audacityteam.Audacity net.mkiol.SpeechNote; do
  echo "Installing $app via TMPDIR..."
  sudo env TMPDIR=/tmp flatpak install flathub -y $app
done

Successful update command samle:
sudo env TMPDIR=/tmp flatpak update -y

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: flatpak 1.16.6-1
ProcVersionSignature: Ubuntu 7.0.0-14.14-generic 7.0.0
Uname: Linux 7.0.0-14-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Wed Apr 29 14:49:13 2026
InstallationDate: Installed on 2026-04-28 (1 days ago)
InstallationMedia: Kubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423)
SourcePackage: flatpak
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: flatpak (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to flatpak in Ubuntu.
https://bugs.launchpad.net/bugs/2150642

Title:
   Flapak and systemd-homed with encryption. Incompatibility. Bad
  combination Edit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flatpak/+bug/2150642/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to