-
|
I’ve been using hcxdumptool for several years on a Raspberry Pi Zero 2, and I update it regularly. With every major update there are usually some parameter changes, but that has never caused any real issues. This time, however, I’m running into a strange problem. I’ve always started hcxdumptool as a systemd service ( With the latest version (7.1.0‑6‑gc662861), the service fails immediately after startup with the error: What’s odd is that the exact same Bash script runs perfectly fine when executed manually in a shell: It only fails when started as a systemd service. My service file ( The start script ( Do you have any idea what might be causing this? What changed in the new version that prevents it from running correctly as a service, even though it still works from the shell? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
Lat's take a closer look at this problem shown by journalctl:: That's interesting. Because I've not changed the main scan loop since a long time. I'm running hcxdumptool on a Raspberyy Pi Zero and it is started and stopped by an init.d script. I've added some more functions to debug mode to show problems inside the main scan loop. compile and run hcxdumptool via systemd. I suggest to set the working dir in the startup script which makes it easier to locate the error log. Please attach the error log file. |
Beta Was this translation helpful? Give feedback.
-
|
BTW: |
Beta Was this translation helpful? Give feedback.
-
|
Please test latest commit. I've installed systemd to reproduce the issue. It should be fixed now. |
Beta Was this translation helpful? Give feedback.
-
|
You’re incredible. Before I even had the chance to provide further details, you already fixed it. Everything works fine now. This is exactly why I keep coming back to this repository several times a month to read through the issues and discussions. I’m always impressed by how quickly and thoroughly you respond to every request. Keep up the great work! |
Beta Was this translation helpful? Give feedback.
-
|
I'm glad to read that it is working. Line 3567 in 3a003ca Looks like systemd doesn't like if "epoll_ctl" is done on an unarmed timer. |
Beta Was this translation helpful? Give feedback.
Please test latest commit.
I've installed systemd to reproduce the issue. It should be fixed now.