[Bug 933943] Re: rsyslogd please apply patch for large group handling

Bug Watch Updater 933943 at bugs.launchpad.net
Fri Feb 17 03:41:38 UTC 2012


Launchpad has imported 2 comments from the remote bug at
http://bugzilla.adiscon.com/show_bug.cgi?id=310.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-02-17T01:09:02+00:00 Alec Warner wrote:

I'll attach a patch shortly.

Reply at: https://bugs.launchpad.net/rsyslog/+bug/933943/comments/0

------------------------------------------------------------------------
On 2012-02-17T02:27:50+00:00 Alec Warner wrote:

Created attachment 146
Call getgrnam_r repeatedly if we receive ERANGE

Some large enterprises have huge groups that need to be resolved.

Example: I have a group that needs a 2MB buffer ;)

antarus at goats2 /tmp $ ./a.out
Trying 4096
Trying 8192
Trying 16384
Trying 32768
Trying 65536
Trying 131072
Trying 262144
Trying 524288
Trying 1048576
Trying 2097152

Reply at: https://bugs.launchpad.net/rsyslog/+bug/933943/comments/1


** Changed in: rsyslog
       Status: Unknown => Confirmed

** Changed in: rsyslog
   Importance: Unknown => Low

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/933943

Title:
  rsyslogd please apply patch for large group handling

Status in Rsyslog:
  Confirmed
Status in “rsyslog” package in Ubuntu:
  New

Bug description:
  http://bugzilla.adiscon.com/show_bug.cgi?id=310

  rsyslog uses a static 2048 character buffer to perform group lookups.
  Some of us have large groups and need a larger buffer. This patch
  repeatedly calls getgrnam_r until it gets a buffer of sufficient size.

  -A

To manage notifications about this bug go to:
https://bugs.launchpad.net/rsyslog/+bug/933943/+subscriptions




More information about the foundations-bugs mailing list