-
Notifications
You must be signed in to change notification settings - Fork 51
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
incron crawling disk without configuration #73
Comments
There's no answer to this without seeing your incrontab file. Knowing the incron version might also help. |
:-) right:
-> only commented lines
nothing more |
my primary system is Debian 10 |
cat /etc/incron.allow incron.deny is empty , also /etc/incron.d is empty. /etc/incrond.conf is delault. systemd-unit-file is debian-default and also holds no extra config tabs in /var/spool/incron/* are commented-out (#) so i guess the are inactive .. if active, they would hold no jobs monitoring any /home or /proc folders, br |
You didn't say what was, and who owned process id 2787 - was that incrond itself? |
oh i am sorry: so: systemctl status incron.service
incrontab for root (incrontab -l): as you can see: a forked "find"-process is crawling my disk .. IMO for no reason - why is it doing this causing logs like: and please mind: its not the access-error itself that troubles me , but more like noconfig at all tells incrond to crawl without instruction - so i guess its hardcoded behavior that i like to disable. br |
PID 2787 along with the 1000s of other access-denied errors is just one of many processes running at that moment i start incrond .. same for the homefolders and-so-on .. nowadays such may also been handeled by polkitd (specially on /proc-access), so mayby this is not hononred - but is it an issue at all? update to mention: /proc is mounted with option "hidepid=2" and user incron is not part of that group (but why should it ?) |
I have first to warn you that I am an amateur in incron, so it is the blind leading so to speak. So it is incrond that is telling you that it cannot do something because it does not have access to "./proc/14652/task/7963/fdinfo/763". Now, I fully admit that I don't know WHY it needs access to that - that would be much further research. I can tell you anyway that it is not the process "find" that is reporting it, it is incrond. It is certainly NOT trying to do something secretive, it is shouting loudly that it is not happy working within it's current privileges. Like you, I do not understand the "find" shown forked from systemD. Might think about that later... |
Ah, postscript, I just noticed that there is an "fdinfo" at the end of the ./proc/14652.... Could that mean "file descriptor info" i.e. something related to the file you are trying to monitor. To be investigated.... |
Thank you Ray for looking into .. FYI:
i will inform [email protected] as packagemaintainer. thank you |
Hello trueshanti, dinner was good - now going to watch TV for a while. I am glad that you have identified a way around your problems. Keep smiling; keep healthy - Ray |
it seems incron is crawling all disk , but should onyl monitor "1" file
how can i restrict incrond to only work with configfiles and turning off such unwanded behavior ?
thanks 4 support
br
The text was updated successfully, but these errors were encountered: