[Pkg-nagios-devel] Bug#358178: x86_64: avoid `Size... > POSIX-guaranteed...' warning

Marc Haber mh+debian-packages at zugschlus.de
Sat Apr 29 13:47:34 UTC 2006


tags #358178 moreinfo
user nagios2 at packages.debian.org
usertags #358178 close-30060630
thanks

On Tue, Mar 21, 2006 at 03:49:43PM +0100, Jim Meyering wrote:
> Package: nagios2
> Version: 2.0-1
> Severity: normal
> Tags: patch
> 
> Using debian unstable's nagios2 on a 64-bit system, I get this at start-up:
> 
>   [1142950705] LOG VERSION: 2.0
>   [1142950705] Warning: Size of service_message struct (528 bytes) is > POSIX-guaranteed atomic write size (512 bytes).  Service checks results may get lost or mangled!
>   [1142950705] Finished daemonizing... (New PID=18989)
> 
> Here's a patch that solves the problem for upstream's
> nagios-2-x-bugfixes branch:
> 
> 	* include/objects.h [MAX_PLUGINOUTPUT_LENGTH]: Decrease length
>         by 16, so that `sizeof service_message' is no larger than 512,
>         even on x86_64 systems.

Does this bug still apply to nagios 2.2?

If no feedback is received, this bug will be closed on 2006-06-30.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-nagios-devel mailing list