Actions
Bug #6269
closedosmo-trx-uhd fails to start on Debian 12 system
Start date:
11/22/2023
Due date:
% Done:
100%
Spec Reference:
Description
I'm currently setting up an osmocom system using the nightly feed for Debian 12 (on what I assume to be a clean Debian 12).
However, the osmo-trx-uhd.service is not starting up:
Nov 22 15:15:10 nuc-osmocom2 systemd[1]: Started osmo-trx-uhd.service - Osmocom SDR BTS L1 Transceiver (UHD Backend). Nov 22 15:15:10 nuc-osmocom2 osmo-trx-uhd[3503]: Wed Nov 22 15:15:10 2023 DLGLOBAL <0008> cpu_sched_vty.c:471 Setting SCHED_RR priority 18 Nov 22 15:15:10 nuc-osmocom2 osmo-trx-uhd[3503]: Wed Nov 22 15:15:10 2023 DLGLOBAL <0008> telnet_interface.c:88 Available via telnet 127.0.0.1 4237 Nov 22 15:15:10 nuc-osmocom2 osmo-trx-uhd[3503]: Wed Nov 22 15:15:10 2023 DLCTRL <000f> control_if.c:1014 CTRL at 127.0.0.1 4236 Nov 22 15:15:10 nuc-osmocom2 osmo-trx-uhd[3503]: [INFO] [UHD] linux; GNU C++ version 12.2.0; Boost_107400; UHD_4.3.0.0+ds1-5 Nov 22 15:15:12 nuc-osmocom2 osmo-trx-uhd[3503]: Wed Nov 22 15:15:12 2023 DDEV <0005> UHDDevice.cpp:525 UHD make failed, device , exception: Nov 22 15:15:12 nuc-osmocom2 osmo-trx-uhd[3503]: RuntimeError: get_xdg_config_home(): Unable to find $HOME or $XDG_CONFIG_HOME. Nov 22 15:15:12 nuc-osmocom2 osmo-trx-uhd[3503]: Wed Nov 22 15:15:12 2023 DMAIN <0000> osmo-trx.cpp:607 Failed to create radio device Nov 22 15:15:12 nuc-osmocom2 osmo-trx-uhd[3503]: Wed Nov 22 15:15:12 2023 DMAIN <0000> osmo-trx.cpp:588 Shutting down transceiver... Nov 22 15:15:12 nuc-osmocom2 systemd[1]: osmo-trx-uhd.service: Main process exited, code=exited, status=1/FAILURE Nov 22 15:15:12 nuc-osmocom2 systemd[1]: osmo-trx-uhd.service: Failed with result 'exit-code'.
I'm very puzzled. Does this really mean that UHD expects HOME or XDG_CONFIG_HOME environment variables being present? Have they ever considered that this is not usual for any program not started by an user at an interactive console? And why on earth would something minor like that result in a fatal failure?
Does anyone know anything about this?
Related issues
Actions