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.
# 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
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
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 debian. conf daemon_ prios() in /etc/init.d/quagga increments it (after setting
vtysh_enable=1 (or yes or true)
in /etc/quagga/
then convert_
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". debian. conf"
eval $name=$value
@@ -187,6 +187,7 @@
. "$C_PATH/daemons"
. "$C_PATH/
+ daemon_ prios
# Set priority of un-startable daemons to 'no' and substitute 'yes' to '0'
convert_
------- ------- ------- ------- ------- ------- ------- ------
-- System Information: ISO-8859- 15)
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=
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: upgrade_ notes:
* quagga/