flathub / com.microsoft.Teams

https://flathub.org/apps/details/com.microsoft.Teams
14 stars 6 forks source link

Does not start when homedir is encrypted with fscrypt #51

Open LaurentBonnaud opened 3 years ago

LaurentBonnaud commented 3 years ago

Hi,

here is the problem:

$ flatpak run com.microsoft.Teams
Overriding TZ to Europe/Paris
[2 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/extra/teams/teams --type=zygote --electron-shared-settings=eyJjci5jb21wYW55IjoiRWxlY3Ryb24iLCJjci5kdW1wcyI6IiIsImNyLmVuYWJsZWQiOmZhbHNlLCJjci5wcm9kdWN0IjoiRWxlY3Ryb24iLCJjci5zZXNzaW9uIjoiIiwiY3IudXJsIjoiIiwiY3IudmVyc2lvbiI6IiJ9
ldconfig: Can't create temporary cache file /run/ld-so-cache-dir/a485e4ccbd64628cfc712adeaa05ca7b691609e80c48c199c62b03af4b0ffd55.hihFxK~: Required key not available
error: ldconfig failed, exit status 256

The "Required key not available" error message leads me to think that the problem comes from the fact that my homedir is encrypted with fscrypt.

Lctrs commented 3 years ago

Related to https://github.com/flatpak/flatpak/issues/3365. What's your OS and flatpak version ?

LaurentBonnaud commented 3 years ago

Related to flatpak/flatpak#3365.

Indeed. Thanks for pointing this out!

What's your OS and flatpak version ?

Ubuntu 20.10, flatpak 1.8.2-1

LaurentBonnaud commented 3 years ago

Strangely, the ld.so file is there:

.var/app/com.microsoft.Teams/.ld.so/:
total 48
-rw-r--r-- 1 bonnaudl bonnaudl 42206 Feb  2 12:50 a485e4ccbd64628cfc712adeaa05ca7b691609e80c48c199c62b03af4b0ffd55
lrwxrwxrwx 1 bonnaudl bonnaudl    66 Feb  2 12:50 active -> a485e4ccbd64628cfc712adeaa05ca7b691609e80c48c199c62b03af4b0ffd55
LaurentBonnaud commented 3 years ago

Let me add that com.microsoft.Teams is the only flatpak affected by this problem. All other flatpaks do work well on my system.