[Debian-ha-maintainers] Bug#693886: ldirectord: Error parsing config with yes|no options as autoreload, quiescent or cleanstop
Jesus Velayos Pastrana
soporte at strsistemas.com
Wed Nov 21 13:35:25 UTC 2012
Package: ldirectord
Version: 1:1.0.3-3.1
Severity: normal
Hello,
when you define some directive with yes|no option as autoreload, quiescent or cleanstop, parsing file fails on stop or start. You get an error that look likes "Error [10906] reading file /etc/ldirectord/ldirectord.cf at line 9: quiescent must be 'yes' or 'no'". The value is yes or no in all cases s you can see in this config file config:
# Content of /etc/ldirectord/ldirectord.cf
checktimeout=3
checkinterval=5
failurecount=3
quiescent=no
logfile="/var/log/ldirectord.log"
# definicion de servidor virtual
virtual=192.168.0.1:80
real=192.168.1.100:80 masq 1
real=192.168.1.100:80 masq 1
service=http
request="ldirectord.html"
receive="ldirectord test page"
scheduler=wrr
protocol=tcp
# End content of /etc/ldirectord/ldirectord.cf
I tried with squeeze-backports package too but the problem persists.
I checked perl code (I'm not a perl programmer) but I think it's correct (some traces that I did with print STDERR shows 'yes' or 'no' as value in var $1 in code so it should be correct, I think I'm missing some perl feature).
Thanks for hard working maintaining Debian.
Best regards,
Jesus.
-- System Information:
Debian Release: 6.0.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ldirectord depends on:
ii ipvsadm 1:1.25.clean-1 Linux Virtual Server support progr
ii libauthen-radius-perl 0.17-1 module to authenticate users using
ii libcrypt-ssleay-perl 0.57-2 Support for https protocol in LWP
ii libdbi-perl 1.612-1 Perl Database Interface (DBI)
ii libdigest-hmac-perl 1.02+dfsg-1 module for creating standard messa
ii libmail-pop3client-per 2.17-1 POP3 client module for perl
ii libmailtools-perl 2.06-1 Manipulate email in perl programs
ii libnet-dns-perl 0.66-2 Perform DNS queries from a Perl sc
ii libnet-imap-simple-per 1.1900-1 Perl module to manage an IMAP acco
ii libnet-imap-simple-ssl 1.3-3 Subclass of Net::IMAP::Simple with
ii libnet-ldap-perl 1:0.4001-2 client interface to LDAP servers
ii libsocket6-perl 0.23-1 Perl extensions for IPv6
ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar
ii perl [libdigest-md5-pe 5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii perl-modules [libnet-p 5.10.1-17squeeze3 Core Perl modules
Versions of packages ldirectord recommends:
ii logrotate 3.7.8-6 Log rotation utility
ii rsyslog [system-log-daemon] 4.6.4-2 enhanced multi-threaded syslogd
ldirectord suggests no packages.
-- Configuration Files:
/etc/default/ldirectord changed:
CONFIG_FILE=/etc/ldirectord/ldirectord.cf
-- no debconf information
More information about the Debian-ha-maintainers
mailing list