[Pkg-nagios-devel] Bug#462246: nagios2-common: fails to set correct permissions on default log archive directory

Stephen Gran sgran at debian.org
Wed Jan 23 13:01:14 UTC 2008


Package: nagios2-common
Version: 2.6-2+etch1
Severity: normal

Hi there,

I was investigating why I have these massive nagios logs, and it turns out
/var/log/nagios2/archives is root:root 0755.  This means nagios can't write
there, breaking it's built in rotation method.  Can you add a setperm call for
this directory along with the others in nagios2-common's postinst?

Thanks,

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.29-xenU
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios2-common depends on:
ii  adduser          3.102                   Add and remove users and groups
ii  apache2          2.2.3-4+etch3           Next generation, scalable, extenda
ii  apache2-mpm-work 2.2.3-4+etch3           High speed threaded model for Apac
ii  coreutils        5.97-5.3                The GNU core utilities
ii  debconf [debconf 1.5.11etch1             Debian configuration management sy
ii  lsb-base         3.1-23.2etch1           Linux Standard Base 3.1 init scrip
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  nagios-plugins-b 1.4.5-1                 Plugins for the nagios network mon
ii  nagios2-doc      2.6-2+etch1             documentation for nagios2
ii  ucf              2.0020                  Update Configuration File: preserv

Versions of packages nagios2-common recommends:
ii  nagios-images                 0.3        Collection of images and icons for
ii  nagios-plugins                1.4.5-1    Plugins for the nagios network mon

-- debconf information:
* nagios2/httpd:
  nagios2/nagios1-in-apacheconf: false
  nagios2/adminpassword-mismatch:

-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                    steve at linuxforce.net |
|  `. `'                        Debian user, admin, and developer |
|    `-                                 http://www.linuxforce.net |
 -----------------------------------------------------------------





More information about the Pkg-nagios-devel mailing list