[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#884799: Bug#884799: thunar: Shredding a file causes Thunar to block permanently. (USB)



Hello,
let me clarify your doubts, so it will be easier to debug. :-)
> I'm sorry to hear that, but I don't think I can reproduce that (also it's
> unclear what ?shredding? exactly means here).
It means standard secure deletion by using "shred" from the GNU Coreutils.
GNU shred:
https://www.gnu.org/software/coreutils/manual/html_node/shred-invocation.html
Command: $ shred -zu smallFileOnUSBkey.txt
> Also it's quite likely that you
> actually removed the USB key while the thunar process was still having
> open fd
> on the usb key, which is definitely the wrong thing to do.
The file was deleted from the key but did not disappear from Thunar,
because the GUI was totally frozen.
After a while the WM reported that Thunar was frozen and asked me to
terminate it.
After restarting Thunar, I managed to eject the USB key and the chain of
crashes and slowness began.

To further help you to reproduce the problem, this is the USB key entry
from "/etc/mtab":

/dev/sdb1 /media/lorenzo/36FD-4552 vfat
rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro
0 0

Regards,
Lorenzo

On Wed, 20 Dec 2017 14:46:40 +0100 Yves-Alexis Perez <corsac at debian.org>
wrote:
> control: severity -1 important
> control: tag -1 unreproducible moreinfo
>
> On Tue, 2017-12-19 at 20:58 +0100, Lorenzo Ancora wrote:
> > Dear Maintainer,
> > shredding a file in a mounted USB key causes `Thunar 1.6.11 (Xfce
4.12)` to
> > block permanently.
> > The window with the key won't close and Thunar must be killed
manually; it can
> > be restarted (must wait 2 minutes on a Intel Core i5) but is very
slow and you
> > can just eject the USB device. After ejecting the USB device the
problem does
> > not disappear and gets even worse.
> > Logging out causes `lightdm 1.18.3` to restart... and it keeps
restarting
> > forever, in a loop.
> > From `lightdm` it becames impossible to reboot, shutdown etc. and it
must be
> > done from a VT.
> > Activating the rescue mode (single user mode) from `systemctl` and
going back
> > does not fix the problem.
> > Apparently the only way to fix the problem is to stop
lightdm.service and
> > reboot the system.
>
> Hi,
>
> I'm sorry to hear that, but I don't think I can reproduce that (also it's
> unclear what ?shredding? exactly means here). Also it's quite likely
that you
> actually removed the USB key while the thunar process was still having
open fd
> on the usb key, which is definitely the wrong thing to do.
>
> Regards,
> --
> Yves-Alexis



Reply to: