Your message dated Tue, 15 Jun 2021 22:59:25 -0300 with message-id <CAP+dXJcNzL8iMtcMbz=fzc8zbmt51wvqayqb+qfa5jqd6dr...@mail.gmail.com> and subject line Re: inotify-tools: can't watch FS unmounts has caused the Debian Bug report #679289, regarding inotify-tools: can't watch FS unmounts to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 679289: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679289 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: inotify-tools Version: 3.13-3.1 Severity: normal Dear Maintainer, Inotifywait cannot watch for FS unmounts. On Squeeze, I was able to: (sleep 1; umount /mnt)& inotifywait -q -e unmount /mnt to receive notice that the FS was unmounted and, by extension, that all buffers were flushed; thus it would be safe to unplug the medium. On Wheezy, that inotifywait command results in: Setting up watches. Couldn't watch /mnt: Invalid argument The problem occurs on two different recent Wheezy ix86-64 installations; they are basic systems with web server, ssh server, and vim, apcupsd, inotify-tools, hdparm, acl, samba and ntp (and their dependencies) installed, and vim-tiny removed. Other features of inotifywait seem to work as with Squeeze. I'm presently using a less elegant work-around: while grep -q " /mnt " /proc/mounts; do sleep .1; done but would prefer to use inotifywait. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages inotify-tools depends on: ii libc6 2.13-33 ii libinotifytools0 3.13-3.1 inotify-tools recommends no packages. inotify-tools suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Hi Neal, After several tests in Debian Bullseye, I noticed that this issue was fixed. It sounds like a kernel issue (in inotify API, now working). I am closing this bug. Feel free to reopen if needed. Regards, Eriberto
--- End Message ---

