Open GSI opened 7 years ago
Could you build the daemon with -O0 -g
flags and reproduce the problem? The gdb stack should be much nicer then...
This is a very consistent bug -- and @GSI provided exact steps to reproduce it. Unfortunately, an year later this issue is still open and is biting people who are trying to use incrond.
The bug is between lines usertable.cpp#L390 and usertable.cpp#L408 where incrond "forgets" and reloads itself, then tries to process an event it just forgot about :)
I have 0.5.12 too on a centos 7, same behaviour,moreover sometimes a huge number of incrond processes appear which freezes the system (load1 up to 2000!), with a lot of messages like these:
auditd[766]: dispatch error reporting limit reached - ending report notification. auditd[766]: dispatch err (pipe full) event lost
Thank you.
hi guys, i am same problem, is incron stiil in development? This bug is a big bug... can someone investigate and solve please? I am on ubuntu server 20.04 and incron 5.12
Same problem, on verion 0.5.12. Anyone reading this and cannot wait for @ar- to work on this:
checkout this commit from @galaxy4public https://github.com/galaxy4public/incron/commit/134900ea1dd19834ba6e6c7e7e07611a0e0d78a0
make & make install
cp incrond /usr/sbin/incrond
I can consistently crash incrond 0.5.12 with a single mkdir command.
incrontab:
/tmp/i IN_CREATE echo $@/$# $%
Journal output upon
mkdir /tmp/i/del
:Backtrace:
Observations:
touch
) does not cause the issue. Only directories;/tmp/i IN_CREATE echo /$# $%
)