Public bug reported:

/etc/init.d/nagios-nrpe-server stop|reload|restart affects the
containers processes.

Description:    Ubuntu 10.04 LTS
Release:        10.04


This really small patch fixes it:


--- nagios-nrpe-server.orig     2010-07-02 10:11:26.000000000 +0200
+++ nagios-nrpe-server  2010-07-02 10:13:45.000000000 +0200
@@ -61,12 +61,12 @@
        ;;
   stop)
        log_daemon_msg "Stopping $DESC" "$NAME"
-       start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
+       start-stop-daemon --stop --quiet --oknodo --pidfile $PIDDIR/nrpe.pid 
--exec $DAEMON
        log_end_msg $?
        ;;
   reload|force-reload)
        log_daemon_msg "Reloading $DESC configuration files" "$NAME"
-       start-stop-daemon --stop --signal HUP --quiet --exec $DAEMON
+       start-stop-daemon --stop --signal HUP --quiet --pidfile 
$PIDDIR/nrpe.pid --exec $DAEMON
        log_end_msg $?
        ;;
   restart)

** Affects: nagios-nrpe (Ubuntu)
     Importance: Undecided
         Status: New

-- 
stop doesn't stop only the host's process on LXC szerver
https://bugs.launchpad.net/bugs/600941
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to