| Summary: | incrond forks a process on invocation which is never killed | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Marc Krämer <mageia> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | sysadmin-bugs, tarazed25, tmb |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/ar-/incron/issues/65 | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | incron-0.5.12-3.mga7.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Marc Krämer
2019-07-15 15:52:23 CEST
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
Marc Krämer
2019-12-23 12:19:21 CET
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) =>
tarazed25
Thomas Backlund
2020-01-05 15:56:01 CET
Keywords:
(none) =>
advisory, validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0003.html Status:
NEW =>
RESOLVED |