ladvd
ladvd copied to clipboard
pcap_activate for vethXXX failed for EL9
We observe that ladvd tried to handle virtual interfaces (but it shouldn't I think): ladvd runs as systemd service with only LLDP working proto
[Unit]
Description=LLDP/CDP sender
Documentation=man:ladvd(8) man:ladvdc(8)
Requires=network.target
After=network.target
[Service]
ExecStart=/usr/sbin/ladvd -f -L -z
Restart=on-failure
NoNewPrivileges=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes
RuntimeDirectory=ladvd
[Install]
WantedBy=multi-user.target
2024-05-19T23:33:44.695761+00:00 xx-db-d22 systemd-networkd[1479]: veth0215f87: Link UP
2024-05-19T23:33:44.882483+00:00 xx-db-d22 systemd-networkd[1479]: veth0215f87: Gained carrier
2024-05-19T23:33:44.901881+00:00 xx-db-d22 ladvd[1498]: pcap_activate for veth0215f87 failed
2024-05-19T23:33:44.918144+00:00 xx-db-d22 ladvd[1498]: pcap_activate for veth0215f87 failed
2024-05-19T23:33:44.934058+00:00 xxx-db-d22 ladvd[1498]: pcap_activate for veth0215f87 failed
2024-05-19T23:33:45.248367+00:00 xxx-db-d22 systemd-networkd[1479]: veth0215f87: Lost carrier
2024-05-19T23:33:45.273465+00:00 xxx-db-d22 systemd-networkd[1479]: veth0215f87: Link DOWN
If we have active work with docker and/or bridge interface, on ladvd restart we receive a lot of messages like:
...
2024-05-20T13:47:49.404103+00:00 xxx-db-d22 ladvd[1498]: unable to change CDP multicast on veth87dd56b: No such device
2024-05-20T13:47:49.404229+00:00 xxx-db-d22 ladvd[1498]: unable to change EDP multicast on veth87dd56b: No such device
2024-05-20T13:47:49.404325+00:00 xxx-db-d22 ladvd[1498]: unable to change FDP multicast on veth87dd56b: No such device
2024-05-20T13:47:49.404362+00:00 xxx-db-d22 ladvd[1498]: unable to change NDP multicast on veth87dd56b: No such device
2024-05-20T13:47:49.404398+00:00 xxx-db-d22 ladvd[1498]: unable to change CDP1 multicast on veth87dd56b: No such device
...
# rg CDP1 -c /var/log/messages
500
# rg NDP -c /var/log/messages
500
# rg FDP -c /var/log/messages
500
# rg CDP -c /var/log/messages
1000
# rg EDP -c /var/log/messages
500
This issue is appear on Oracle Linux 9 (EL9). Maybe something has been changed in code/kernel and veth* countes as physical interfaces instead of virtual. And it strange about multicast for non-working protocols on host.