[Debian-ha-maintainers] Bug#739873: ldirectord: Upgrade from sid: ldirectord fails to start: Error [8533] reading file /etc/ldirectord.cf at line $number: invalid address for virtual service

Salvatore Bonaccorso carnil at debian.org
Sun Feb 23 13:28:53 UTC 2014


Package: ldirectord
Version: 1:3.9.5+git+a626847-1
Severity: serious
Justification: fails to upgrade from previous version, does not start anymore

Hi Martin and HA team

Upgrading ldirectord from unstable to the version in experimental
(1:3.9.5+git+a626847-1) causes the package not to upgrade correctly
and ldirectord not starting anymore. I played around in a vm setup
with the configuration below to reproduce:

root at sid:~# service ldirectord status
[....] Running ldirectord: statusldirectord for /etc/ldirectord.cf is running with pid: 7537
root at sid:~# cat /etc/ldirectord.cf 
checktimeout=20
checkinterval=5
autoreload=yes
quiescent=no

# web service vip (http)
virtual=192.168.122.60:80
        real=192.168.122.55 gate 1 "/", "It works"
        real=192.168.122.56 gate 1 "/", "It works"
        service=http
        checkport=80
        protocol=tcp
        scheduler=wrr
        checktype=negotiate
        virtualhost="web-vip.local"
root at sid:~# apt-get -t experimental install ldirectord
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  ldirectord
1 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/63.6 kB of archives.
After this operation, 5,120 B of additional disk space will be used.
(Reading database ... 27350 files and directories currently installed.)
Preparing to unpack .../ldirectord_1%3a3.9.5+git+a626847-1_all.deb ...
[....] Running ldirectord: stopUnpacking ldirectord (1:3.9.5+git+a626847-1) over (1:3.9.3+git20121009-3) ...
Processing triggers for man-db (2.6.6-1) ...
Setting up ldirectord (1:3.9.5+git+a626847-1) ...
[....] Running ldirectord: startUse of uninitialized value $ip_port in pattern match (m//) at /usr/sbin/ldirectord line 1789, <CFGFILE> line 15.
Error [8533] reading file /etc/ldirectord.cf at line 7: invalid address for virtual service
invoke-rc.d: initscript ldirectord, action "start" failed.
dpkg: error processing package ldirectord (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 ldirectord
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at sid:~#

With the above configuration now ldirectord does not start anymore.

Regards,
Salvatore



More information about the Debian-ha-maintainers mailing list