[Pkg-nagios-devel] Bug#311695: Rather difficult to reproduce

Andres Salomon Andres Salomon <dilinger@debian.org>, 311695@bugs.debian.org
Fri, 03 Jun 2005 12:19:08 -0400

On Fri, 2005-06-03 at 12:09 -0400, Andres Salomon wrote:
> This really does come down to whether or not the database works around
> the nagios bug by throttling; the default mysql-server mysql.user table
> still allows nagios to connect, which nagios takes to mean that
> everything is configured.

Oh yea, and this database stuff?  Completely irrelevant to what nagios
actually logs:

bash-2.05a# while true; do sleep 10; ls -lh /var/log/nagios/nagios.log ;
-rw-rw-r--  1 nagios nagios 16M Jun  3 16:14 /var/log/nagios/nagios.log
-rw-rw-r--  1 nagios nagios 18M Jun  3 16:14 /var/log/nagios/nagios.log
-rw-rw-r--  1 nagios nagios 20M Jun  3 16:14 /var/log/nagios/nagios.log
-rw-rw-r--  1 nagios nagios 22M Jun  3 16:14 /var/log/nagios/nagios.log
-rw-rw-r--  1 nagios nagios 24M Jun  3 16:14 /var/log/nagios/nagios.log
-rw-rw-r--  1 nagios nagios 26M Jun  3 16:14 /var/log/nagios/nagios.log
-rw-rw-r--  1 nagios nagios 29M Jun  3 16:15 /var/log/nagios/nagios.log

bash-2.05a# dpkg -l mysql-server nagios-mysql
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)||/ Name           Version        Description
ii  mysql-server   4.0.24-10      mysql database server binaries
ii  nagios-mysql   1.3-cvs.200504 A host/service/network monitoring and
bash-2.05a# grep '^[A-Za-z]' /etc/nagios/resource.cfg
bash-2.05a# echo 'select user,password from user;' | mysql -u root mysql
user    password
debian-sys-maint        35a1614f0f6bb9e0

*This* makes it RC, imo.  Especially since /var is typically its own
partition, so /var/log/nagios/nagios.log will happily
starve /var/lib/mysql for space.. causing data loss.  RC bug.  :(