The event delete_self with inotyfywait never occur

Bug #702884 reported by Anders Wallenquist on 2011-01-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
inotify-tools (Ubuntu)

Bug Description

Binary package hint: inotify-tools

Using inotifywait waiting for a lock-file will wait for ever.

Window one:
$ inotifywait -e delete_self /tmp/foo
Setting up watches.
Watches established.

Window two:
aw@server1:~$ touch /tmp/foo # has to be done before starting inotifywait in window one
aw@server1:~$ rm /tmp/foo
(nothing happens, inotify will hang for ever)


The same thing using event delete:
aw@server1:/tmp$ inotifywait -e delete /tmp
Setting up watches.
Watches established.
/tmp/ DELETE foo

The event fires

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers