Bug 172856 - [patch] security/munge: munged is uninterruptible and consumes cpu
Summary: [patch] security/munge: munged is uninterruptible and consumes cpu
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason E. Hale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 16:00 UTC by loic-freebsd
Modified: 2012-10-20 08:54 UTC (History)
0 users

See Also:


Attachments
file.diff (945 bytes, patch)
2012-10-18 16:00 UTC, loic-freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description loic-freebsd 2012-10-18 16:00:00 UTC
Bug already known upstream: http://code.google.com/p/munge/issues/detail?id=18

"munged should consume negligible cpu when idle, and gracefully terminate upon receipt of a SIGTERM.  Instead, munged consumes an entire cpu and must be forcibly terminated with a SIGKILL."

Patch below is the upstream patch to fix this issue, and a least if works for me.

Regards,
Loic

Fix: Applying upstream patch.

Patch attached with submission follows:
How-To-Repeat: # /usr/local/bin/sudo -u daemon /usr/local/sbin/munged -F --key-file=/usr/local/etc/munge/munge.key

Process is then uninterruptible and cannot be killed with SIGKILL.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-10-18 16:00:29 UTC
Maintainer of security/munge,

Please note that PR ports/172856 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/172856

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-10-18 16:00:30 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2012-10-20 08:00:53 UTC
Approved.

On Thu, Oct 18, 2012 at 9:00 PM, Edwin Groothuis <edwin@freebsd.org> wrote:

> Maintainer of security/munge,
>
> Please note that PR ports/172856 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/172856
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>
Comment 4 Jason E. Hale freebsd_committer freebsd_triage 2012-10-20 08:19:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jhale

I'll take it.
Comment 5 Jason E. Hale freebsd_committer freebsd_triage 2012-10-20 08:54:32 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!