Error starting home assistant snap on RHEL9.3

I am new to snap and home assistant. I did a new, fresh install of snap on RHEL 9.3. I verified libpcap is installed. Next, I installed home-assistant-snap. When I check /var/snap/home-assistant-snap/current/home-assistant.log, I see only the following:

2024-01-15 17:09:06.625 ERROR (SyncWorker_1) [scapy.runtime] Cannot set filter: libpcap is not available. Cannot compile filter ! 2024-01-15 17:09:06.644 ERROR (SyncWorker_1) [homeassistant.components.dhcp] Cannot watch for dhcp packets without a functional packet filter: libpcap is not available. Cannot compile filter !

Suggestions? Thank you in advance.

cat /etc/os-release

NAME=“Red Hat Enterprise Linux” VERSION=“9.3 (Plow)” ID=“rhel” ID_LIKE=“fedora” VERSION_ID=“9.3” PLATFORM_ID=“platform:el9” PRETTY_NAME=“Red Hat Enterprise Linux 9.3 (Plow)”

dnf install libpcap

Updating Subscription Management repositories. Last metadata expiration check: 2:38:55 ago on Mon 15 Jan 2024 02:42:11 PM EST. Package libpcap-14:1.10.0-4.el9.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete!

uname -r

5.14.0-362.13.1.el9_3.x86_64

Hello

Thank you for posting your question.

I’ve reproduced the issue on Fedora 39 which is not quite RHEL 9 but it is close. The first thing you should know is that installation of libpcap on your system does not make it available to the snap. I can see libpcap.so.0.8 and libpcap.so.1.9.1 in revision 583 but I’m not sure why it cannot be found or used by the application.

Perhaps report the issue to the snap maintainer at https://git.giaever.org/joachimmg/home-assistant-snap

1 Like

Very kind of you. Thank you very much!!