Bug#412980: marked as done (/etc/init.d/nagios2 reload removes the pidfile)

2007-10-31 Thread Debian Bug Tracking System
Your message dated Wed, 31 Oct 2007 14:11:17 +0100
with message-id [EMAIL PROTECTED]
and subject line Bug#434685: [pkg-nagios] r1155 - nagios2/trunk/debian
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---BeginMessage---

Package: nagios2-common
Version:  2.6-2


/etc/init.d/nagios2 reload removes the pidfile.

1. First a normal startup

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 start
Starting nagios2 monitoring daemon: nagios2.
debtest:/etc/nagios2/conf.d# ps -ef|grep nagios2
nagios   22240 1  0 15:17 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root 22249 19633  0 15:17 pts/000:00:00 grep nagios2

pidfile exists:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
-rw-r--r-- 1 nagios nagios 6 2007-03-01 15:18 /var/run/nagios2/nagios2.pid

2. then reload

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2.

no pidfile:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
ls: /var/run/nagios2/nagios2.pid: No such file or directory


3. running the reload again


debtest:~# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2* Not 
running.

failed!
debtest:~# ps -ef|grep nagios2
nagios2324 1  0 15:37 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root  5060  2520  0 15:50 pts/000:00:00 grep nagios2


After the pidfile is removed the init.d script is toothless, stop does 
not work, restart starts another daemon etc.


The problem lies in the reload function that calls killproc from 
/lib/lsb/init-functions .  Before returning 0 killproc removes the 
pidfile. Nagios2 probably had better using something like:


start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile 
$THEPIDFILE --exec $DAEMON



debtest:/etc/nagios2/conf.d# cat /etc/debian_version
4.0


ch

Matti

---End Message---
---BeginMessage---
Version: 2.10-1

On Mon, Aug 13, 2007 at 06:25:36AM -0400, Justin Pryzby wrote:
 On Sun, Aug 12, 2007 at 08:08:05PM +0200, Marc Haber wrote:
  Can you please re-check with lsb-base 3.1-24 installed? That version
  of lsb-base is no longer supposed to remove the pid file.
 Seems to work
 [EMAIL PROTECTED]:~$ sudo /etc/init.d/nagios2 reload
 Reloading nagios2 monitoring daemon configuration files: nagios2.
 [EMAIL PROTECTED]:~$ sudo /etc/init.d/nagios2 reload
 Reloading nagios2 monitoring daemon configuration files: nagios2.

Thanks for the feedback. Closing the bugs.

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

---End Message---


Bug#412980: marked as done (/etc/init.d/nagios2 reload removes the pidfile)

2007-10-31 Thread Debian Bug Tracking System
Your message dated Wed, 31 Oct 2007 14:11:17 +0100
with message-id [EMAIL PROTECTED]
and subject line Bug#434685: [pkg-nagios] r1155 - nagios2/trunk/debian
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---BeginMessage---

Package: nagios2-common
Version:  2.6-2


/etc/init.d/nagios2 reload removes the pidfile.

1. First a normal startup

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 start
Starting nagios2 monitoring daemon: nagios2.
debtest:/etc/nagios2/conf.d# ps -ef|grep nagios2
nagios   22240 1  0 15:17 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root 22249 19633  0 15:17 pts/000:00:00 grep nagios2

pidfile exists:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
-rw-r--r-- 1 nagios nagios 6 2007-03-01 15:18 /var/run/nagios2/nagios2.pid

2. then reload

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2.

no pidfile:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
ls: /var/run/nagios2/nagios2.pid: No such file or directory


3. running the reload again


debtest:~# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2* Not 
running.

failed!
debtest:~# ps -ef|grep nagios2
nagios2324 1  0 15:37 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root  5060  2520  0 15:50 pts/000:00:00 grep nagios2


After the pidfile is removed the init.d script is toothless, stop does 
not work, restart starts another daemon etc.


The problem lies in the reload function that calls killproc from 
/lib/lsb/init-functions .  Before returning 0 killproc removes the 
pidfile. Nagios2 probably had better using something like:


start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile 
$THEPIDFILE --exec $DAEMON



debtest:/etc/nagios2/conf.d# cat /etc/debian_version
4.0


ch

Matti

---End Message---
---BeginMessage---
Version: 2.10-1

On Mon, Aug 13, 2007 at 06:25:36AM -0400, Justin Pryzby wrote:
 On Sun, Aug 12, 2007 at 08:08:05PM +0200, Marc Haber wrote:
  Can you please re-check with lsb-base 3.1-24 installed? That version
  of lsb-base is no longer supposed to remove the pid file.
 Seems to work
 [EMAIL PROTECTED]:~$ sudo /etc/init.d/nagios2 reload
 Reloading nagios2 monitoring daemon configuration files: nagios2.
 [EMAIL PROTECTED]:~$ sudo /etc/init.d/nagios2 reload
 Reloading nagios2 monitoring daemon configuration files: nagios2.

Thanks for the feedback. Closing the bugs.

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

---End Message---


Bug#412980: marked as done (/etc/init.d/nagios2 reload removes the pidfile)

2007-10-31 Thread Debian Bug Tracking System
Your message dated Wed, 31 Oct 2007 14:11:17 +0100
with message-id [EMAIL PROTECTED]
and subject line Bug#434685: [pkg-nagios] r1155 - nagios2/trunk/debian
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---BeginMessage---

Package: nagios2-common
Version:  2.6-2


/etc/init.d/nagios2 reload removes the pidfile.

1. First a normal startup

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 start
Starting nagios2 monitoring daemon: nagios2.
debtest:/etc/nagios2/conf.d# ps -ef|grep nagios2
nagios   22240 1  0 15:17 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root 22249 19633  0 15:17 pts/000:00:00 grep nagios2

pidfile exists:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
-rw-r--r-- 1 nagios nagios 6 2007-03-01 15:18 /var/run/nagios2/nagios2.pid

2. then reload

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2.

no pidfile:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
ls: /var/run/nagios2/nagios2.pid: No such file or directory


3. running the reload again


debtest:~# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2* Not 
running.

failed!
debtest:~# ps -ef|grep nagios2
nagios2324 1  0 15:37 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root  5060  2520  0 15:50 pts/000:00:00 grep nagios2


After the pidfile is removed the init.d script is toothless, stop does 
not work, restart starts another daemon etc.


The problem lies in the reload function that calls killproc from 
/lib/lsb/init-functions .  Before returning 0 killproc removes the 
pidfile. Nagios2 probably had better using something like:


start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile 
$THEPIDFILE --exec $DAEMON



debtest:/etc/nagios2/conf.d# cat /etc/debian_version
4.0


ch

Matti

---End Message---
---BeginMessage---
Version: 2.10-1

On Mon, Aug 13, 2007 at 06:25:36AM -0400, Justin Pryzby wrote:
 On Sun, Aug 12, 2007 at 08:08:05PM +0200, Marc Haber wrote:
  Can you please re-check with lsb-base 3.1-24 installed? That version
  of lsb-base is no longer supposed to remove the pid file.
 Seems to work
 [EMAIL PROTECTED]:~$ sudo /etc/init.d/nagios2 reload
 Reloading nagios2 monitoring daemon configuration files: nagios2.
 [EMAIL PROTECTED]:~$ sudo /etc/init.d/nagios2 reload
 Reloading nagios2 monitoring daemon configuration files: nagios2.

Thanks for the feedback. Closing the bugs.

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

---End Message---


Bug#412980: marked as done (/etc/init.d/nagios2 reload removes the pidfile)

2007-10-31 Thread Debian Bug Tracking System
Your message dated Wed, 31 Oct 2007 14:11:17 +0100
with message-id [EMAIL PROTECTED]
and subject line Bug#434685: [pkg-nagios] r1155 - nagios2/trunk/debian
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---BeginMessage---

Package: nagios2-common
Version:  2.6-2


/etc/init.d/nagios2 reload removes the pidfile.

1. First a normal startup

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 start
Starting nagios2 monitoring daemon: nagios2.
debtest:/etc/nagios2/conf.d# ps -ef|grep nagios2
nagios   22240 1  0 15:17 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root 22249 19633  0 15:17 pts/000:00:00 grep nagios2

pidfile exists:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
-rw-r--r-- 1 nagios nagios 6 2007-03-01 15:18 /var/run/nagios2/nagios2.pid

2. then reload

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2.

no pidfile:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
ls: /var/run/nagios2/nagios2.pid: No such file or directory


3. running the reload again


debtest:~# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2* Not 
running.

failed!
debtest:~# ps -ef|grep nagios2
nagios2324 1  0 15:37 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root  5060  2520  0 15:50 pts/000:00:00 grep nagios2


After the pidfile is removed the init.d script is toothless, stop does 
not work, restart starts another daemon etc.


The problem lies in the reload function that calls killproc from 
/lib/lsb/init-functions .  Before returning 0 killproc removes the 
pidfile. Nagios2 probably had better using something like:


start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile 
$THEPIDFILE --exec $DAEMON



debtest:/etc/nagios2/conf.d# cat /etc/debian_version
4.0


ch

Matti

---End Message---
---BeginMessage---
Version: 2.10-1

On Mon, Aug 13, 2007 at 06:25:36AM -0400, Justin Pryzby wrote:
 On Sun, Aug 12, 2007 at 08:08:05PM +0200, Marc Haber wrote:
  Can you please re-check with lsb-base 3.1-24 installed? That version
  of lsb-base is no longer supposed to remove the pid file.
 Seems to work
 [EMAIL PROTECTED]:~$ sudo /etc/init.d/nagios2 reload
 Reloading nagios2 monitoring daemon configuration files: nagios2.
 [EMAIL PROTECTED]:~$ sudo /etc/init.d/nagios2 reload
 Reloading nagios2 monitoring daemon configuration files: nagios2.

Thanks for the feedback. Closing the bugs.

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

---End Message---


Bug#412980: marked as done (/etc/init.d/nagios2 reload removes the pidfile)

2007-06-09 Thread Debian Bug Tracking System
Your message dated Sat, 09 Jun 2007 11:17:03 +
with message-id [EMAIL PROTECTED]
and subject line Bug#412980: fixed in nagios2 2.9-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---BeginMessage---

Package: nagios2-common
Version:  2.6-2


/etc/init.d/nagios2 reload removes the pidfile.

1. First a normal startup

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 start
Starting nagios2 monitoring daemon: nagios2.
debtest:/etc/nagios2/conf.d# ps -ef|grep nagios2
nagios   22240 1  0 15:17 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root 22249 19633  0 15:17 pts/000:00:00 grep nagios2

pidfile exists:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
-rw-r--r-- 1 nagios nagios 6 2007-03-01 15:18 /var/run/nagios2/nagios2.pid

2. then reload

debtest:/etc/nagios2/conf.d# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2.

no pidfile:
debtest:/etc/nagios2/conf.d# ls -ltr /var/run/nagios2/nagios2.pid
ls: /var/run/nagios2/nagios2.pid: No such file or directory


3. running the reload again


debtest:~# /etc/init.d/nagios2 reload
Reloading nagios2 monitoring daemon configuration files: nagios2* Not 
running.

failed!
debtest:~# ps -ef|grep nagios2
nagios2324 1  0 15:37 ?00:00:00 /usr/sbin/nagios2 -d 
/etc/nagios2/nagios.cfg

root  5060  2520  0 15:50 pts/000:00:00 grep nagios2


After the pidfile is removed the init.d script is toothless, stop does 
not work, restart starts another daemon etc.


The problem lies in the reload function that calls killproc from 
/lib/lsb/init-functions .  Before returning 0 killproc removes the 
pidfile. Nagios2 probably had better using something like:


start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile 
$THEPIDFILE --exec $DAEMON



debtest:/etc/nagios2/conf.d# cat /etc/debian_version
4.0


ch

Matti

---End Message---
---BeginMessage---
Source: nagios2
Source-Version: 2.9-1

We believe that the bug you reported is fixed in the latest version of
nagios2, which is due to be installed in the Debian FTP archive:

nagios2-common_2.9-1_all.deb
  to pool/main/n/nagios2/nagios2-common_2.9-1_all.deb
nagios2-dbg_2.9-1_amd64.deb
  to pool/main/n/nagios2/nagios2-dbg_2.9-1_amd64.deb
nagios2-doc_2.9-1_all.deb
  to pool/main/n/nagios2/nagios2-doc_2.9-1_all.deb
nagios2_2.9-1.diff.gz
  to pool/main/n/nagios2/nagios2_2.9-1.diff.gz
nagios2_2.9-1.dsc
  to pool/main/n/nagios2/nagios2_2.9-1.dsc
nagios2_2.9-1_amd64.deb
  to pool/main/n/nagios2/nagios2_2.9-1_amd64.deb
nagios2_2.9.orig.tar.gz
  to pool/main/n/nagios2/nagios2_2.9.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
sean finney [EMAIL PROTECTED] (supplier of updated nagios2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Sat, 09 Jun 2007 11:27:42 +0200
Source: nagios2
Binary: nagios2-doc nagios2-common nagios2-dbg nagios2
Architecture: source amd64 all
Version: 2.9-1
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group [EMAIL PROTECTED]
Changed-By: sean finney [EMAIL PROTECTED]
Description: 
 nagios2- A host/service/network monitoring and management system
 nagios2-common - support files for nagios2
 nagios2-dbg - debugging symbols for nagios2
 nagios2-doc - documentation for nagios2
Closes: 397289 412980 413122 414050 414647 414652 414762 415752 416763 423639
Changes: 
 nagios2 (2.9-1) unstable; urgency=low
 .
   * New upstream release (closes: #414647).
   * new dutch (nl) debconf translations from cobaco (closes: #414762).
   * new japanese (ja) debconf translations from Kobayashi Noritada
 (closes: #413122).
   * Fix wrong path to debian.gd2 in extinfo_nagios2.cfg (closes: #423639).
   [Sean Finney]
   * various fixes/cleanups in init script should resolve issues with
 pidfile handling etc (closes: #416763, #397289, #414050, #412980, #415752).
   * Merge config file changes.
   * add note for pam_tmpdir users about setting TMPDIR in
 /etc/nagios2/default.  thanks to Richard A Nelson (closes: #414652)
Files: