Discussion:
Bug#930526: incron creates zombie processes
Add Reply
Dmitry Nezhevenko
2019-06-14 14:40:01 UTC
Reply
Permalink
Package: incron
Version: 0.5.12-1
Severity: important
Tags: patch

Dear Maintainer,

After updating two machines from current stable to buster I've got a lot
of zombie processes caused by incron.

It looks like this known issue and was already fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=1656939

I'm attaching copy of patch from Fedora package that fixes this issue for
me.

It would be cool to have this applied to Buster release

-- System Information:
Debian Release: 10.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.1.9 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages incron depends on:
ii adduser 3.118
ii init-system-helpers 1.56+nmu1
ii libc6 2.28-10
ii libgcc1 1:8.3.0-7
ii libstdc++6 8.3.0-7
ii lsb-base 10.2019051400

incron recommends no packages.

incron suggests no packages.

-- Configuration Files:
/etc/incron.allow [Errno 13] Permission denied: '/etc/incron.allow'
/etc/incron.deny [Errno 13] Permission denied: '/etc/incron.deny'

-- no debconf information
--
WBR, Dmitry
Herman van Rink
2019-08-15 10:20:01 UTC
Reply
Permalink
I'm also seeing this after a buster upgrade.

Applying this patch and rebuilding the package seems to have done the trick
--
Met vriendelijke groet / Regards,

Herman van Rink
Initfour websolutions
Kim-Alexander Brodowski
2019-10-14 11:30:01 UTC
Reply
Permalink
Dear Maintainer,

we did not have much luck with the patch provided, however we do
experience the same issue.

This upstream commit from an unmerged PR helped though:
https://github.com/ar-/incron/pull/56/commits/0a8cb83983394c2bd36105fcae5c56f89e931686

In its current state this package seriously compromises system stability.
Post by Dmitry Nezhevenko
Package: incron
Version: 0.5.12-1
Severity: important
Tags: patch
Dear Maintainer,
After updating two machines from current stable to buster I've got a lot
of zombie processes caused by incron.
https://bugzilla.redhat.com/show_bug.cgi?id=1656939
I'm attaching copy of patch from Fedora package that fixes this issue for
me.
It would be cool to have this applied to Buster release
Debian Release: 10.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1,
'experimental-debug'), (1, 'experimental')
Post by Dmitry Nezhevenko
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.1.9 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Post by Dmitry Nezhevenko
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
ii adduser 3.118
ii init-system-helpers 1.56+nmu1
ii libc6 2.28-10
ii libgcc1 1:8.3.0-7
ii libstdc++6 8.3.0-7
ii lsb-base 10.2019051400
incron recommends no packages.
incron suggests no packages.
/etc/incron.allow [Errno 13] Permission denied: '/etc/incron.allow'
/etc/incron.deny [Errno 13] Permission denied: '/etc/incron.deny'
-- no debconf information
--
WBR, Dmitry
--
Kind regards,
Kim-Alexander Brodowski

IServ GmbH
Entwicklung
Bültenweg 73
38106 Braunschweig
GERMANY

Phone: +49 531 22 43 666-0
Mobile: +49 152 55 17 55 16
Fax: +49 531 22 43 666-9
E-Mail: ***@iserv.eu
Internet: https://iserv.eu

USt-IdNo. DE265149425 | Amtsgericht Braunschweig | HRB 201822
Managing directors: Benjamin Heindl, Martin Hüppe, Jörg Ludwig
Privacy: https://iserv.eu/privacy
Gerald Oskoboiny
2019-10-16 02:30:01 UTC
Reply
Permalink
Post by Dmitry Nezhevenko
Package: incron
Version: 0.5.12-1
After updating two machines from current stable to buster I've got a lot
of zombie processes caused by incron.
We have this issue as well after updating our hosts to buster.

It makes incron unusable on our systems -- after a few days there
are thousands of zombie processes. :(

I am not including more details because the issue seems to be
well-known, but please let me know if more info would be useful.

Thanks,
--
Gerald Oskoboiny <***@w3.org>
http://www.w3.org/People/Gerald/
Alexander Brüning
2019-10-27 21:00:01 UTC
Reply
Permalink
This is still an issue on 0.5.12-1

These commits apparently fix it

https://github.com/ar-/incron/commit/f45c2f5ac4baea99b48e99a713d1f4ec1854aa76

A thread on Stackoverflow suggests exiting with a non-zero exit code from
your shell scripts.

https://stackoverflow.com/questions/53722957/incrond-processes-with-shell-script-only-exit
Michael Prokop
2019-11-13 07:50:01 UTC
Reply
Permalink
Hi,

(Cc-ing original bug reporter as well who triggered this, thanks!)
Post by Alexander Brüning
This is still an issue on 0.5.12-1
These commits apparently fix it
https://github.com/ar-/incron/commit/f45c2f5ac4baea99b48e99a713d1f4ec1854aa76
ACK, though only
https://github.com/ar-/incron/pull/42/commits/196975d26fd04176a1c877fa3c404efd8103c9c2
is relevant in the version present in Debian (the other commit is
already present).

A customer of mine was affected as well by this and I created a
custom local package for buster which includes the fix, works fine
and as expected there. Though it definitely makes sense to a) upload
this to unstable and also b) provide a package upload to stable (to
be part of the upcoming point release of buster) to fix this.

I created a merge request for Emmanuel:

https://salsa.debian.org/kolter/incron/merge_requests/1

Emmanuel, please consider merging this and upload the package
towards unstable and stable ASAP (incron is really unuseable as-is).
Let me know if you need anything else or if anything should prevent
you from taking care.

regards
-mika-
Michael Prokop
2019-11-20 09:10:01 UTC
Reply
Permalink
Hi,
Post by Michael Prokop
https://salsa.debian.org/kolter/incron/merge_requests/1
Emmanuel, please consider merging this and upload the package
towards unstable and stable ASAP (incron is really unuseable as-is).
Let me know if you need anything else or if anything should prevent
you from taking care.
Ping, Emmanuel?

regards
-mika-
Michael Prokop
2019-11-28 11:30:01 UTC
Reply
Permalink
Post by Michael Prokop
Post by Michael Prokop
https://salsa.debian.org/kolter/incron/merge_requests/1
Emmanuel, please consider merging this and upload the package
towards unstable and stable ASAP (incron is really unuseable as-is).
Let me know if you need anything else or if anything should prevent
you from taking care.
Ping, Emmanuel?
Thanks for merging the MR, Emmanuel.

Is there any ETA regarding upload towards unstable and stable from
your side?

regards
-mika-
Emmanuel Bouthenot
2019-12-02 22:20:02 UTC
Reply
Permalink
Hi Michael,

On Thu, Nov 28, 2019 at 12:22:19PM +0100, Michael Prokop wrote:
[...]
Post by Michael Prokop
Is there any ETA regarding upload towards unstable and stable from
your side?
First, I apologize for the late reply.

I've just uploaded incron in unstable with your patch (thanks).

I've also started to prepare an uploaded for the next buster point
release. I will keep you informed.

(As you asked me I've also removed you from the Uploaders)

Regards,
--
Emmanuel Bouthenot
mail: kolter@{openics,debian}.org gpg: 4096R/0x929D42C3
xmpp: ***@im.openics.org irc: kolter@{freenode,oftc}
Loading...