Am 15.11.21 um 17:17 Uhr schrieb Dario Faggioli:
On Mon, 2021-11-15 at 16:10 +0000, Dario Faggioli wrote:
Hello,
since a recent update (I'm on 20211111 right now), if I try to start a flatpak, and tukit is "doing something", I get the following:
bwrap: Can't bind mount /oldroot/tmp on /newroot/tmp: Unable to mount source on destination: Operation not permitted error: Failed to sync with dbus proxy
Ok, not sure if it helps, but FWIW, this does not happen in 20211025.
In transactional-update 3.6 I indeed changed the mount behaviour; one thing was to simpify the mount structure (among others to prevent those recursive mounts on failures like you can see in the overly long list below), the other thing as you noted already was that /tmp is now a tmpfs mount (to avoid having to clean up manually). I'll have to take a look at what bwrap is trying to do here and see what I can do to fix this. Cheers, Ignaz
There, the lines in `mount` that have to do with 'tmp' (with a t-u shell open) are the following:
devtmpfs on /dev type devtmpfs (rw,nosuid,size=3035596k,nr_inodes=758899,mode=755,inode64) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,size=3047108k,nr_inodes=761777,inode64) tmpfs on /run type tmpfs (rw,nosuid,nodev,size=1218844k,nr_inodes=819200,mode=755,inode64) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=3047108k,nr_inodes=409600,inode64) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=609400k,nr_inodes=152350,mode=700,uid=1000,gid=100,inode64) devtmpfs on /.snapshots/11/snapshot/dev type devtmpfs (rw,nosuid,size=3035596k,nr_inodes=758899,mode=755,inode64) tmpfs on /.snapshots/11/snapshot/dev/shm type tmpfs (rw,nosuid,nodev,size=3047108k,nr_inodes=761777,inode64) /dev/vda2 on /tmp/transactional-update-WroRYj type btrfs (rw,relatime,space_cache,subvolid=328,subvol=/@/.snapshots/11/snapshot) devtmpfs on /tmp/transactional-update-WroRYj/dev type devtmpfs (rw,nosuid,size=3035596k,nr_inodes=758899,mode=755,inode64) tmpfs on /tmp/transactional-update-WroRYj/dev/shm type tmpfs (rw,nosuid,nodev,size=3047108k,nr_inodes=761777,inode64) devpts on /tmp/transactional-update-WroRYj/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) hugetlbfs on /tmp/transactional-update-WroRYj/dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /tmp/transactional-update-WroRYj/dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) /dev/vda2 on /tmp/transactional-update-WroRYj/var/log type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/var/cache type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/var/lib/zypp type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/var/lib/ca-certificates type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/var/lib/alternatives type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/var/lib/selinux type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) overlay on /tmp/transactional-update-WroRYj/etc type overlay (rw,relatime,lowerdir=/etc,upperdir=/var/lib/overlay/11/etc,workdir=/var/lib/overlay/11/work-etc) /dev/vda2 on /tmp/transactional-update-WroRYj/boot/grub2/x86_64-efi type btrfs (rw,relatime,space_cache,subvolid=265,subvol=/@/boot/grub2/x86_64-efi) /dev/vda2 on /tmp/transactional-update-WroRYj/boot/grub2/i386-pc type btrfs (rw,relatime,space_cache,subvolid=266,subvol=/@/boot/grub2/i386-pc) proc on /tmp/transactional-update-WroRYj/proc type proc (rw,nosuid,nodev,noexec,relatime) systemd-1 on /tmp/transactional-update-WroRYj/proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1468) sysfs on /tmp/transactional-update-WroRYj/sys type sysfs (rw,nosuid,nodev,noexec,relatime) securityfs on /tmp/transactional-update-WroRYj/sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) cgroup2 on /tmp/transactional-update-WroRYj/sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) pstore on /tmp/transactional-update-WroRYj/sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) none on /tmp/transactional-update-WroRYj/sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) debugfs on /tmp/transactional-update-WroRYj/sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /tmp/transactional-update-WroRYj/sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) configfs on /tmp/transactional-update-WroRYj/sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) fusectl on /tmp/transactional-update-WroRYj/sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) /dev/vda2 on /tmp/transactional-update-WroRYj/root type btrfs (rw,relatime,space_cache,subvolid=261,subvol=/@/root) /dev/vda2 on /tmp/transactional-update-WroRYj/boot/writable type btrfs (rw,relatime,space_cache,subvolid=264,subvol=/@/boot/writable) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots type btrfs (rw,relatime,space_cache,subvolid=267,subvol=/@/.snapshots) devtmpfs on /.snapshots/12/snapshot/dev type devtmpfs (rw,nosuid,size=3035596k,nr_inodes=758899,mode=755,inode64) tmpfs on /.snapshots/12/snapshot/dev/shm type tmpfs (rw,nosuid,nodev,size=3047108k,nr_inodes=761777,inode64) devtmpfs on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/dev type devtmpfs (rw,nosuid,size=3035596k,nr_inodes=758899,mode=755,inode64) tmpfs on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/dev/shm type tmpfs (rw,nosuid,nodev,size=3047108k,nr_inodes=761777,inode64) devpts on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) hugetlbfs on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) devtmpfs on /.snapshots/11/snapshot/.snapshots/12/snapshot/dev type devtmpfs (rw,nosuid,size=3035596k,nr_inodes=758899,mode=755,inode64) tmpfs on /.snapshots/11/snapshot/.snapshots/12/snapshot/dev/shm type tmpfs (rw,nosuid,nodev,size=3047108k,nr_inodes=761777,inode64) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/var/log type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/var/cache type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/var/lib/zypp type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/var/lib/ca-certificates type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/var/lib/alternatives type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/var/lib/selinux type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) overlay on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/etc type overlay (rw,relatime,lowerdir=/etc,upperdir=/var/lib/overlay/12/etc,workdir=/var/lib/overlay/12/work-etc) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/boot/grub2/x86_64-efi type btrfs (rw,relatime,space_cache,subvolid=265,subvol=/@/boot/grub2/x86_64-efi) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/boot/grub2/i386-pc type btrfs (rw,relatime,space_cache,subvolid=266,subvol=/@/boot/grub2/i386-pc) proc on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/proc type proc (rw,nosuid,nodev,noexec,relatime) systemd-1 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1468) sysfs on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys type sysfs (rw,nosuid,nodev,noexec,relatime) securityfs on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) cgroup2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) pstore on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) none on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) debugfs on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) configfs on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) fusectl on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/root type btrfs (rw,relatime,space_cache,subvolid=261,subvol=/@/root) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/boot/writable type btrfs (rw,relatime,space_cache,subvolid=264,subvol=/@/boot/writable) /dev/vda2 on /tmp/transactional-update-WroRYj/.snapshots/12/snapshot/.snapshots type btrfs (rw,relatime,space_cache,subvolid=267,subvol=/@/.snapshots) /dev/vda2 on /tmp/transactional-update-GaoQwC type btrfs (rw,relatime,space_cache,subvolid=329,subvol=/@/.snapshots/12/snapshot) devtmpfs on /tmp/transactional-update-GaoQwC/dev type devtmpfs (rw,nosuid,size=3035596k,nr_inodes=758899,mode=755,inode64) tmpfs on /tmp/transactional-update-GaoQwC/dev/shm type tmpfs (rw,nosuid,nodev,size=3047108k,nr_inodes=761777,inode64) devpts on /tmp/transactional-update-GaoQwC/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) hugetlbfs on /tmp/transactional-update-GaoQwC/dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /tmp/transactional-update-GaoQwC/dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) /dev/vda2 on /tmp/transactional-update-GaoQwC/var/log type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-GaoQwC/var/cache type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-GaoQwC/var/lib/zypp type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-GaoQwC/var/lib/ca-certificates type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-GaoQwC/var/lib/alternatives type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) /dev/vda2 on /tmp/transactional-update-GaoQwC/var/lib/selinux type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var) overlay on /tmp/transactional-update-GaoQwC/etc type overlay (rw,relatime,lowerdir=/etc,upperdir=/var/lib/overlay/12/etc,workdir=/var/lib/overlay/12/work-etc) /dev/vda2 on /tmp/transactional-update-GaoQwC/boot/grub2/x86_64-efi type btrfs (rw,relatime,space_cache,subvolid=265,subvol=/@/boot/grub2/x86_64-efi) /dev/vda2 on /tmp/transactional-update-GaoQwC/boot/grub2/i386-pc type btrfs (rw,relatime,space_cache,subvolid=266,subvol=/@/boot/grub2/i386-pc) proc on /tmp/transactional-update-GaoQwC/proc type proc (rw,nosuid,nodev,noexec,relatime) systemd-1 on /tmp/transactional-update-GaoQwC/proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1468) sysfs on /tmp/transactional-update-GaoQwC/sys type sysfs (rw,nosuid,nodev,noexec,relatime) securityfs on /tmp/transactional-update-GaoQwC/sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) cgroup2 on /tmp/transactional-update-GaoQwC/sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) pstore on /tmp/transactional-update-GaoQwC/sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) none on /tmp/transactional-update-GaoQwC/sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) debugfs on /tmp/transactional-update-GaoQwC/sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /tmp/transactional-update-GaoQwC/sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) configfs on /tmp/transactional-update-GaoQwC/sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) fusectl on /tmp/transactional-update-GaoQwC/sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) /dev/vda2 on /tmp/transactional-update-GaoQwC/root type btrfs (rw,relatime,space_cache,subvolid=261,subvol=/@/root) /dev/vda2 on /tmp/transactional-update-GaoQwC/boot/writable type btrfs (rw,relatime,space_cache,subvolid=264,subvol=/@/boot/writable) /dev/vda2 on /tmp/transactional-update-GaoQwC/.snapshots type btrfs (rw,relatime,space_cache,subvolid=267,subvol=/@/.snapshots)
Thanks and Regards