/etc/init.d/quagga: vtysh_enable gots incremented by one and isn't recognized

Bug #11889 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
quagga (Debian)
Fix Released
Unknown
quagga (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #290317 http://bugs.debian.org/290317

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #290317 http://bugs.debian.org/290317

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 13 Jan 2005 16:17:51 +0100
From: root <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: /etc/init.d/quagga: vtysh_enable gots incremented by one and isn't recognized

Package: quagga
Version: 0.98.0-1
Severity: grave
File: /etc/init.d/quagga
Justification: renders package unusable

if you set
vtysh_enable=1 (or yes or true)
in /etc/quagga/debian.conf
then convert_daemon_prios() in /etc/init.d/quagga increments it (after setting
to 1 if yes|true) by one.

but then "vtysh_b()" checks only "$vtysh_enable" = 1 and no "/usr/bin/vtysh -b"
takes place.

-------------------------------------------------------
--- /tmp/quagga 2005-01-10 19:48:26.000000000 +0100
+++ /etc/init.d/quagga 2005-01-13 16:05:29.000000000 +0100
@@ -121,7 +121,7 @@

          # Zebra is threatened special. It must be between 0=off and the first
           # user assigned value "1" so we increase all other enabled daemons' values.
- if [ "$name" != "zebra" -a "$value" -gt 0 ]; then value=$(( $value + 1 )); fi
+ if [ "$name" != "zebra" -a "$name" != "vtysh_enable" -a "$value" -gt 0 ]; then value=$(( $value + 1 )); fi

          # If e.g. name is zebra then we set "zebra=yes".
          eval $name=$value
@@ -187,6 +187,7 @@
 . "$C_PATH/daemons"
 . "$C_PATH/debian.conf"

+
 # Set priority of un-startable daemons to 'no' and substitute 'yes' to '0'
 convert_daemon_prios

-------------------------------------------------------

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-rc1
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages quagga depends on:
ii debconf 1.4.41 Debian configuration management sy
ii iproute 20041019-2 Professional tools to control the
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libreadline4 4.3-15 GNU readline and history libraries
ii libsnmp5 5.1.2-6 NET SNMP (Simple Network Managemen
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii logrotate 3.7-2 Log rotation utility

-- debconf information:
* quagga/upgrade_notes:

Revision history for this message
In , Christian Hammers (ch) wrote : Bug#290317: fixed in quagga 0.98.0-3

Source: quagga
Source-Version: 0.98.0-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:

quagga-doc_0.98.0-3_all.deb
  to pool/main/q/quagga/quagga-doc_0.98.0-3_all.deb
quagga_0.98.0-3.diff.gz
  to pool/main/q/quagga/quagga_0.98.0-3.diff.gz
quagga_0.98.0-3.dsc
  to pool/main/q/quagga/quagga_0.98.0-3.dsc
quagga_0.98.0-3_i386.deb
  to pool/main/q/quagga/quagga_0.98.0-3_i386.deb

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Hammers <email address hidden> (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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 14 Jan 2005 17:37:27 +0100
Source: quagga
Binary: quagga quagga-doc
Architecture: source i386 all
Version: 0.98.0-3
Distribution: unstable
Urgency: low
Maintainer: Christian Hammers <email address hidden>
Changed-By: Christian Hammers <email address hidden>
Description:
 quagga - unoff. successor of the Zebra BGP/OSPF/RIP routing daemon
 quagga-doc - documentation files for quagga
Closes: 290317
Changes:
 quagga (0.98.0-3) unstable; urgency=low
 .
   * Fixed problem in init script. Closes: #290317
   * Removed obsolete "smux peer enable" patch.
Files:
 f6c8e851f97a83b93ac727b39657dfe3 704 net optional quagga_0.98.0-3.dsc
 aa6b60d38026acc07caa2b3b4dde59dd 30069 net optional quagga_0.98.0-3.diff.gz
 7cfa4df801ffd901196b7e559938adf8 482672 net optional quagga-doc_0.98.0-3_all.deb
 e6ac7af0e52a703769b478139734dc4b 1226308 net optional quagga_0.98.0-3_i386.deb

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

iEYEARECAAYFAkHn+J8ACgkQkR9K5oahGOZ6/gCgjvzJky1Ekjj1kWvYFyiYl4lx
G0sAoPGM3jNw3PONjmPJqltEFpShmLpW
=Qch4
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 14 Jan 2005 12:02:18 -0500
From: Christian Hammers <email address hidden>
To: <email address hidden>
Subject: Bug#290317: fixed in quagga 0.98.0-3

Source: quagga
Source-Version: 0.98.0-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:

quagga-doc_0.98.0-3_all.deb
  to pool/main/q/quagga/quagga-doc_0.98.0-3_all.deb
quagga_0.98.0-3.diff.gz
  to pool/main/q/quagga/quagga_0.98.0-3.diff.gz
quagga_0.98.0-3.dsc
  to pool/main/q/quagga/quagga_0.98.0-3.dsc
quagga_0.98.0-3_i386.deb
  to pool/main/q/quagga/quagga_0.98.0-3_i386.deb

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Hammers <email address hidden> (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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 14 Jan 2005 17:37:27 +0100
Source: quagga
Binary: quagga quagga-doc
Architecture: source i386 all
Version: 0.98.0-3
Distribution: unstable
Urgency: low
Maintainer: Christian Hammers <email address hidden>
Changed-By: Christian Hammers <email address hidden>
Description:
 quagga - unoff. successor of the Zebra BGP/OSPF/RIP routing daemon
 quagga-doc - documentation files for quagga
Closes: 290317
Changes:
 quagga (0.98.0-3) unstable; urgency=low
 .
   * Fixed problem in init script. Closes: #290317
   * Removed obsolete "smux peer enable" patch.
Files:
 f6c8e851f97a83b93ac727b39657dfe3 704 net optional quagga_0.98.0-3.dsc
 aa6b60d38026acc07caa2b3b4dde59dd 30069 net optional quagga_0.98.0-3.diff.gz
 7cfa4df801ffd901196b7e559938adf8 482672 net optional quagga-doc_0.98.0-3_all.deb
 e6ac7af0e52a703769b478139734dc4b 1226308 net optional quagga_0.98.0-3_i386.deb

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

iEYEARECAAYFAkHn+J8ACgkQkR9K5oahGOZ6/gCgjvzJky1Ekjj1kWvYFyiYl4lx
G0sAoPGM3jNw3PONjmPJqltEFpShmLpW
=Qch4
-----END PGP SIGNATURE-----

Revision history for this message
Matt Zimmerman (mdz) wrote :

    quagga | 0.99.1-1ubuntu1 | http://us.archive.ubuntu.com breezy/main Packages

Changed in quagga:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.