Closed colin-foster-in-advantage closed 4 months ago
Figured it out. ser2net version 4.6.0 seems to report an error when invoked with -v. That causes the exporter to fail.
I'll raise an issue with them as well.
Edit: Looks to have been fixed in 4.6.2
https://github.com/cminyard/ser2net/commit/aa91a8393667116cf75cb77cf07cdf9a1483c658
We could work around this by using a different check and ignoring the error code. Not sure how many people will hit this error, we should document it either way.
I have a setup where I'm running Ubuntu 24.04 as a labgrid-exporter for a USB serial port. Whenever I try to acquire the resources, I get a failure when trying to start the ser2net subprocess
ser2net seems to exist at
/usr/sbin/
, and the version should properly return:Maybe there is a version dependency with txaio? Or there's something simple I'm missing. My current setup is just running these commands as a normal user for now - no systemd involvement.