• Bug#265467: nagios-text: statusmap.cgi does not use *extinfo.cfg

    From Gergely Madarasz@1:229/2 to All on Fri Aug 13 12:30:14 2004
    From: [email protected]

    Package: nagios-text
    Version: 2:1.2-3.4
    Severity: normal

    From the build log:

    gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o edata.o edata.c
    gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -DUSE_XSDDEFAULT -DUSE_XCDDEFAULT ../-DUSE_XEDTEMPLATE -DUSE_XRDDEFAULT -DUSE_XODTEMPLATE -DUSE_XPDDEFAULT ../-DUSE_XDDDEFAULT extinfo.c getcgi.o cgiutils.o auth.o popen.o ../../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c ../common/downtime.c ../xdata/xdddefault.c -o extinfo.cgi

    Which means edata.c is compiled _without_ -DUSE_XEDTEMPLATE, so this part of the code is not compiled in:

    #ifdef USE_XEDTEMPLATE
    result=xedtemplate_read_extended_object_config_data(config_file,options);
    if(result!=OK)
    return ERROR;
    #endif

    which has the effect that the files specified in cgi.cfg with xedtemplate_config_file are not read.

    -- System Information:
    Debian Release: 3.0
    APT prefers testing
    APT policy: (850, 'testing'), (800, 'unstable'), (1, 'experimental') Architecture: i386 (i686)
    Kernel: Linux 2.4.26
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages nagios-text depends on:
    ii adduser 3.47 Add and remove users and groups
    ii apache [httpd] 1.3.31-2 Versatile, high-performance HTTP s ii coreutils [fileu 5.2.1-2 The GNU core utilities
    ii debconf 1.4.30 Debian configuration management sy ii fileutils 4.1-10 GNU file management utilities
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libgd2-xpm 2.0.23-2 GD Graphics Library version 2
    ii libjpeg62 6b-5 The Independent JPEG Group's JPEG ii libpng12-0 1.2.5.0-6 PNG library - runtime
    ii mailx 1:8.1.2-0.20020411cvs-1 A simple mail user agent.
    ii nagios-plugins 1.3.1.0-8 Plugins for the nagios network mon ii ucf 1.07 Update Configuration File: preserv ii zlib1g 1:1.2.1.1-5 compression library - runtime

    -- debconf information excluded


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)