I tried reproducing using a VM. I used the image
xubuntu-24.04.2-minimal-amd64.iso from
https://cdimage.ubuntu.com/xubuntu/releases/24.04/release/.

The results are slightly different, but interesting:

Steps for reproducing:
- Create a VM using the ISO image xubuntu-24.04.2-minimal-amd64.iso. No 
physical disk needed, but ~3GB of RAM
- Boot into the UI
- in a terminal A: tail -f /var/lib/syslog
- in a terminal B:
    sudo -i
    cd /
    truncate -s 100M fakedev.dat
    losetup /dev/loop5 /fakedev.dat
    mkfs.ext4 /dev/loop5
    mkdir /a   # don't use /mnt - it behaves differently
    mount /dev/loop5 /a
    chown xubuntu /a
- in a thunar (file explorer) window, as normal user xubuntu:
    open /a
    create a new empty /a/whatever.txt (you can use the "create new plain text 
file" function)
    delete that file using Delete key. there should not be a confirm dialog
    # now, a folder /a/.Trash-1000 is created with some structure and the file 
inside. at the same time, syslog gets the following new lines:

2025-06-27T12:19:54.762998+00:00 xubuntu gvfsd-trash[2239]: GFileInfo created 
without standard::name
2025-06-27T12:19:54.763470+00:00 xubuntu gvfsd-trash[2239]: file 
../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be 
reached
2025-06-27T12:19:54.764017+00:00 xubuntu gvfsd-trash[2239]: GFileInfo created 
without standard::name
2025-06-27T12:19:54.764535+00:00 xubuntu gvfsd-trash[2239]: file 
../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be 
reached


Please note: There was NO direct interaction with the .Trash folder (creating a 
file etc). It seems that every deletion of a file results in one or more syslog 
warnings.

Please also note: the UI behaves differently, if the loop device was
mounted to /mnt. In this case, delete to trash is not offered and the
file is deleted immediately

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

Title:
  gvfsd-trash fills my syslog

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


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

Reply via email to