Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcap_activate for vethXXX failed for EL9 #52

Open
sharewax opened this issue May 20, 2024 · 0 comments
Open

pcap_activate for vethXXX failed for EL9 #52

sharewax opened this issue May 20, 2024 · 0 comments

Comments

@sharewax
Copy link

sharewax commented May 20, 2024

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.

@sharewax sharewax changed the title pcap_activate for vethXXX failed pcap_activate for vethXXX failed for EL9 May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant