On Mon, 2018-01-01 at 11:20 +0000, Simon McVittie wrote: > On Mon, 01 Jan 2018 at 10:51:13 +0530, Ritesh Raj Sarraf wrote: > > It seems flatpak has very fragile path assumptions. I have a basic > > setup > > with 2 HDDs, where in I have my /var/tmp/ as a symlink pointing to > > a > > secondary location. This shouldn't be tagged an unusual setup. > > I would recommend preferring bind-mounts over symlinks when > redirecting > paths that are significant to the OS to some other drive. Flatpak is > not > the only tool that benefits from this: anything that uses a > rearranged > view of the filesystem (mostly container technologies) will be > simpler > and more reliable if it can rely on directories being directories. >
Thanks for the suggestion. The Skype flatpak worked after switch to a bind mount. > > bwrap: Can't make symlink at /var/tmp: File exists > > This is trying to create a symlink as the sandbox's /var/tmp, not in > your real system's filesystem namespace; but Flatpak always creates a > /var/tmp directory anyway, so that symlink creation fails. > > What's in > ~/.local/share/flatpak/app/${app_id}/current/active/metadata > or /var/lib/flatpak/app/${app_id}/current/active/metadata for the app > in question? > rrs@priyasi:~$ cat ~/.local/share/flatpak/app/com.skype.Client/current/active/metadata [Application] name=com.skype.Client runtime=org.freedesktop.Platform/x86_64/1.6 sdk=org.freedesktop.Sdk/x86_64/1.6 command=skype [Context] shared=network;ipc; sockets=x11;pulseaudio; devices=all; filesystems=xdg-download;home:ro; [Session Bus Policy] org.kde.StatusNotifierWatcher=talk org.freedesktop.secrets=talk org.gnome.GConf=talk org.gtk.Notifications=talk org.freedesktop.Notifications=talk [System Bus Policy] org.freedesktop.NetworkManager=talk org.bluez=talk [Environment] XDG_CURRENT_DESKTOP=Unity [Extra Data] name=skypeforlinux-64.deb checksum=2ad7bea3cb42735d140df48e3ca15c3dea31b91452aa45298c2ace40f67548 f9 size=72297826 uri=https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_ 8.13.76.4_amd64.deb [Extension com.skype.Client.Debug] directory=lib/debug autodelete=true no-autodownload=true 10:55 ♒♒♒ ☺ > smcv -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part