Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with newer kernels on centos UNUSEABLE #80

Open
MAngel666 opened this issue May 20, 2021 · 0 comments
Open

with newer kernels on centos UNUSEABLE #80

MAngel666 opened this issue May 20, 2021 · 0 comments

Comments

@MAngel666
Copy link

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.#12#012Stack trace of thread 13214:#12#0 0x00007fee231587ff n/a (n/a)

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

maybe the kernel inotify interface has changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant