I noticed incrond to fork a child on each file beeing processed, but the process is not killed afterwards. I'm quite sure this did not happen in mga6. Since there is not much change at the project, there has to be a change in kernel/compiler or anywhere else.
in mageia6 we had 0.5.10 which did not have this behaviour, so there might be a change in the code too. Currently we have 9 patches - maybe one of these patches is obsolete and does this harm.
@Jani: you committed the latest patches and updated the package, do you know anything about this? Currently I'm running a cron-job to restart this sevice every hour - but this is not what it is intended to be ;)
Assignee: bugsquad => jani.valimaa
anything new about this? see the following testcase: $ cat /etc/incron.d/test /tmp/in IN_CLOSE_WRITE /usr/bin/echo $@ $# $ mkdir /tmp/in $ systemctl start incrond.service $ ps aux|grep incron root 921 0.0 0.0 5532 2600 ? Ss 12:02 0:00 /usr/sbin/incrond root 1657 0.0 0.0 28536 828 pts/12 S+ 12:02 0:00 grep --color inc $ touch /tmp/in/a /tmp/in/b /tmp/in/c $ ps aux|grep incron root 921 0.0 0.0 5532 2600 ? Ss 12:02 0:00 /usr/sbin/incrond root 2393 0.0 0.0 5532 1096 ? S 12:03 0:00 /usr/sbin/incrond root 2394 0.0 0.0 5532 1096 ? S 12:03 0:00 /usr/sbin/incrond root 2396 0.0 0.0 5532 1096 ? S 12:03 0:00 /usr/sbin/incrond root 2402 0.0 0.0 5532 708 ? S 12:03 0:00 /usr/sbin/incrond root 2404 0.0 0.0 5532 708 ? S 12:03 0:00 /usr/sbin/incrond root 2405 0.0 0.0 5532 708 ? S 12:03 0:00 /usr/sbin/incrond root 2410 0.0 0.0 5532 708 ? S 12:03 0:00 /usr/sbin/incrond root 2419 0.0 0.0 28536 824 pts/12 S+ 12:03 0:00 grep --color incron
See Also: (none) => https://github.com/ar-/incron/issues/65
@Jani: checked the patches, this happens also without the patches, added an issue upstream.
Patched incron package fix fork problem: In the current release after each processed file the child process is not killed. This is now fixed. ======================== Updated packages in core/updates_testing: ======================== incron-0.5.12-4.mga7 incron-debugsource-0.5.12-4.mga7 incron-debuginfo-0.5.12-4.mga7 SRPM: incron-0.5.12-4.mga7.src.rpm
Assignee: jani.valimaa => qa-bugs
Mageia7, x86_64 Installed incron and reproduced the problem using Mark's test case. Updated incron. $ sudo rm -rf /tmp/in $ sudo systemctl restart incrond.service $ systemctl status incrond ● incrond.service - Inotify System Scheduler Loaded: loaded (/usr/lib/systemd/system/incrond.service; disabled; vendor pr> Active: active (running) since Sun 2020-01-05 02:30:07 GMT; 28s ago $ cat /etc/incron.d/test /tmp/in IN_CLOSE_WRITE /usr/bin/echo $@ $# $ mkdir /tmp/in $ ps aux | grep incron root 3035 0.0 0.0 5532 2712 ? Ss 02:30 0:00 /usr/sbin/incrond $ touch /tmp/in/a /tmp/in/c /tmp/in/e $ ps aux | grep incron root 3035 0.0 0.0 5532 2712 ? Ss 02:30 0:00 /usr/sbin/incrond Fix confirmed.
CC: (none) => tarazed25Whiteboard: (none) => MGA7-64-OK
Keywords: (none) => advisory, validated_updateCC: (none) => tmb, sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0003.html
Status: NEW => RESOLVEDResolution: (none) => FIXED