Package: incron
Version: 0.5.7-1
Severity: wishlist

Incron exhibits somewhat inconsistent behavior in
that it tracks files by inode (I assume) but
these files are specified by path in the
incrontab.  So, if you delete a file and
re-create it, as some commonly used editors do
as part of the editing process, the file is no
longer tracked -- until incrond is restarted or
(I assume) the incrontab file is modified at
which point the (new) file is again tracked.
This 'impedance mismatch' is a bit odd.

I assume this is the intended design.  It is the
behavior I observe.

If nothing else a note of this issue should be
made in the documentation.

It would be nice if incron had a new symbol, say
IN_TRACK_PATH, that keeps the tracking associated
with the pathname given in the config file.  I
assume this could be done by monitoring the
parent directory for changes and watching for
the file name to come into existence, the name
of the file to change, etc.  

I would think that the desire to track changes
to a file that exists in a particular filesystem
location is rather common.  Absent this feature
it's up to the user to repeatedly script such
things.

Note that such a change alters the meaning of
existing symbols, e.g., changing the file name
would be equivalent to deleting the file, etc.
I don't know whether it makes sense to re-use
the existing symbols in this new context or
to come up with entirely new ones.

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages incron depends on:
ii  adduser                     3.110        add and remove users and groups
ii  libc6                       2.7-18lenny4 GNU C Library: Shared libraries
ii  libgcc1                     1:4.3.2-1.1  GCC support library
ii  libstdc++6                  4.3.2-1.1    The GNU Standard C++ Library v3
ii  lsb-base                    3.2-20       Linux Standard Base 3.2 init scrip

incron recommends no packages.

incron suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to