lldpd is broken on 1.1.8
Open, NormalPublicBUG

Description

Attempting to enable LLDP on 1.1.8 results in the following error message:

# commit
[ service lldp ]
Starting lldpd...
/usr/sbin/lldpd: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
ctl_connect: unable to connect to socket /var/run/lldpd.socket: No such file or directory
fatal: unable to connect to socket /var/run/lldpd.socket
Warning: error setting location on [eth0]

Needs to be rebuilt for the new libssl, I guess

I ran ldd on everything in /usr/bin and /usr/sbin and lldpd appears to be the only broken binary.

Details

Difficulty level
Unknown (require assessment)
Version
1.1.8
Why the issue appeared?
Will be filled on close
jbrown created this task.Mon, Nov 13, 10:41 PM
syncer triaged this task as Normal priority.Mon, Nov 13, 11:15 PM
syncer assigned this task to UnicronNL.
syncer moved this task from Need Triage to Backlog on the VyOS 1.1.x board.
syncer added subscribers: UnicronNL, syncer.

@UnicronNL can you rebuild it ?

The lldpd package had really insufficient dependencies, it didn't even list libssl. This is why it wasn't rebuilt, we used apt-cache rdepend to find the packages that depend on libssl0.9.8, and due to missing dependencies this one didn't show up.

Until we make a new release, you can install an updated package by hand:

http://dev.packages.vyos.net/legacy/repos/vyos/pool/main/l/lldpd/lldpd_0.6.0+vyos1+helium3_amd64.deb
http://dev.packages.vyos.net/legacy/repos/vyos/pool/main/l/lldpd/lldpd_0.6.0+vyos1+helium3_i386.deb

syncer moved this task from Needs Triage to In Progress on the VyOS 1.1.x (1.1.9) board.

Another workaround is the following:

sudo ln -s /usr/lib/libssl.so.{1.0.2,0.9.8}
sudo ln -s /usr/lib/libcrypto.so.{1.0.2,0.9.8}
sudo ldconfig

# commit
[ service lldp ]
Starting lldpd...

# pgrep lldp
11690
11694