ar- / incron

cron-like daemon which handles filesystem events
Other
223 stars 52 forks source link

with newer kernels on centos UNUSEABLE #80

Open MAngel666 opened 3 years ago

MAngel666 commented 3 years ago

If I use a kernel-lt (5.4.118-1.el8.elrepo.x86_64) pkg from elrepo (centos8) then incron seems to be unuseable. I've these lines in incrontab of root:

/srv/backup/ IN_MODIFY,IN_CREATE,IN_MOVED_TO /usr/bin/chown root:backup $@/$# && /usr/bin/chmod 770 $@/$#

if I do something (touch etc) in the watched dir, then it does nothing... It seems to look at other dirs (see it in log), uses a lot of mem and then it crashes : systemd-coredump[44547]: Process 13214 (incrond) of user 0 dumped core.#012#012Stack trace of thread 13214:#012#0 0x00007fee231587ff n/a (n/a)

on a host with standard centos kernel works all as expected.

maybe the kernel inotify interface has changed?