Your message dated Wed, 01 Jan 2014 19:18:53 +0000
with message-id <[email protected]>
and subject line Bug#730625: fixed in quagga 0.99.22.4-3
has caused the Debian Bug report #730625,
regarding quagga: Quagga init script not LSB compliant
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
730625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730625
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: quagga
Version: 0.99.22.4-1+wheezy1
Severity: important
Tags: patch


I was trying to configure quagga as an LSB resource in a
heartbeat/pacemaker cluster and found that it didn't start reliably.
According to the checklist at
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html/Pacemaker_Explained/ap-lsb.html
the init script has several issues:

 * "/etc/init.d/quagga start" returns a non-zero exit code if quagga is
   already running.
 * "/etc/init.d/quagga status" is not implemented.

This patch resolves those problems (The status message could be a bit
more verbose, though):


--- quagga.init.d.0.99.21-4+wheezy1     2013-11-27 10:12:50.000000000 +0100
+++ quagga.init.d.new   2013-11-27 10:19:54.000000000 +0100
@@ -79,6 +79,7 @@
 
        start-stop-daemon \
                --start \
+                --oknodo \
                --pidfile=`pidfile $1` \
                --exec "$D_PATH/$1" \
                -- \
@@ -282,6 +283,21 @@
        $0 start $2
        ;;
 
+    status)
+       rc=3
+        for i in /var/run/quagga/*.pid 
+        do
+                if [ -f "$i" ]
+               then
+                       d=`basename $i .pid`
+                       running="$running $d"
+                       rc=0
+               fi
+        done
+        echo $running
+       exit $rc
+        ;;
+
     *)
        echo "Usage: /etc/init.d/quagga 
{start|stop|restart|force-reload|<priority>} [daemon]"
        echo "       E.g. '/etc/init.d/quagga 5' would start all daemons with a 
prio 1-5."


-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (800, 'stable'), (500, 'oldstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages quagga depends on:
ii  adduser                    3.113+nmu3    add and remove users and groups
ii  debconf [debconf-2.0]      1.5.49        Debian configuration management sy
ii  iproute                    20120521-3+b3 networking and traffic control too
ii  libc6                      2.13-38       Embedded GNU C Library: Shared lib
ii  libcap2                    1:2.22-1.2    support for getting/setting POSIX.
ii  libpam0g                   1.1.3-7.1     Pluggable Authentication Modules l
ii  libreadline6               6.1-3         GNU readline and history libraries
ii  libtinfo5                  5.9-10        shared low-level terminfo library 
ii  logrotate                  3.8.1-4       Log rotation utility

quagga recommends no packages.

Versions of packages quagga suggests:
ii  snmpd                     5.4.3~dfsg-2.7 SNMP (Simple Network Management Pr

-- Configuration Files:
/etc/quagga/daemons changed [not included]

-- debconf information:
* quagga/really_stop: true

--- End Message ---
--- Begin Message ---
Source: quagga
Source-Version: 0.99.22.4-3

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

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.
Christian Hammers <[email protected]> (supplier of updated quagga 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.8
Date: Wed, 01 Jan 2014 19:12:01 +0100
Source: quagga
Binary: quagga quagga-dbg quagga-doc
Architecture: source amd64 all
Version: 0.99.22.4-3
Distribution: unstable
Urgency: low
Maintainer: Christian Hammers <[email protected]>
Changed-By: Christian Hammers <[email protected]>
Description: 
 quagga     - BGP/OSPF/RIP routing daemon
 quagga-dbg - BGP/OSPF/RIP routing daemon (debug symbols)
 quagga-doc - documentation files for quagga
Closes: 730625
Changes: 
 quagga (0.99.22.4-3) unstable; urgency=low
 .
   * Added status to init script (thanks to Peter J. Holzer). Closes: #730625
   * Init script now sources /lib/lsb/init-functions.
   * Switched from hardening-wrapper to dpkg-buildflags.
Checksums-Sha1: 
 f548194dc3f130d47df757be6a9dba587d72cb79 1465 quagga_0.99.22.4-3.dsc
 4b0163787cebde0d71cc2b61487722284fc82f66 40253 quagga_0.99.22.4-3.debian.tar.gz
 5db218fff5faba3097c991fe8a8aec077eb5a276 1196328 quagga_0.99.22.4-3_amd64.deb
 e4967b80eaff82dc62eb5f1359dfabcb7d5a7d15 1804006 
quagga-dbg_0.99.22.4-3_amd64.deb
 cbc72f6f3d11439da249cdd5c8621d8cac496466 780522 quagga-doc_0.99.22.4-3_all.deb
Checksums-Sha256: 
 e7b80c9e99fb6d599fda72d70560245c6b2ac6a751edd4845c75dd87718e96a8 1465 
quagga_0.99.22.4-3.dsc
 e14f0848face61cde65220e1cf0a701badc6f25b249bfafcbb33f8fb2c16d619 40253 
quagga_0.99.22.4-3.debian.tar.gz
 4a00daaede36c13f2f02ab89224d41011405f16f88b1597833aaa649d71c511b 1196328 
quagga_0.99.22.4-3_amd64.deb
 60e5a4947aee57516880cc57af27bb35f097f3053c82487fdae01e50ded5277d 1804006 
quagga-dbg_0.99.22.4-3_amd64.deb
 ec2753d050b7891e3e757befe65caa9fe7e7892be3e3d20c25738c064a6e118f 780522 
quagga-doc_0.99.22.4-3_all.deb
Files: 
 e92f6329ad914af6673db415f022e0fa 1465 net optional quagga_0.99.22.4-3.dsc
 d39fe77786ada82554c67f3529a4c8be 40253 net optional 
quagga_0.99.22.4-3.debian.tar.gz
 ef765bea7aa06f524f7eb481a5b7ca32 1196328 net optional 
quagga_0.99.22.4-3_amd64.deb
 55d0f3b9aa926f63ce78d09de56f32af 1804006 debug extra 
quagga-dbg_0.99.22.4-3_amd64.deb
 8be758af067a29d997ef034b1238e5ab 780522 net optional 
quagga-doc_0.99.22.4-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iEYEARECAAYFAlLEZ88ACgkQkR9K5oahGOYEuwCgqUtC/2n94hVY28dHWORcvYzZ
q8UAoNoUzUph0X3n5lXNUrHHb7omYt7j
=sBwW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to