bug#19760: [bug] tail -f with inotify fails to follow a file after a rename()

2015-02-03 Thread Stephane Chazelas
Hello, On Linux, when inotify is used, tail -f file follows a file only until it's renamed. After it is renamed, the inotify watch is removed, which means tail sits there doing nothing and any further modifications to the file are ignored. To reproduce: echo 1 file tail -f file

bug#19760: [bug] tail -f with inotify fails to follow a file after a rename()

2015-02-03 Thread Pádraig Brady
On 03/02/15 22:04, Stephane Chazelas wrote: Hello, On Linux, when inotify is used, tail -f file follows a file only until it's renamed. After it is renamed, the inotify watch is removed, which means tail sits there doing nothing and any further modifications to the file are ignored.