Actions
Bug #6495
closedsystemd/uhd permission issues
Start date:
06/26/2024
Due date:
% Done:
100%
Spec Reference:
Description
https://gerrit.osmocom.org/c/osmo-trx/+/36714 introduced HOME, but %h is This is the home directory of the user running the service manager instance. In case of the system manager this resolves to "/root". Note that this setting is not influenced by the User= setting configurable in the [Service] section of the service unit.
This completely breaks osmo-trx:
osmo-trx-uhd[4013]: terminate called after throwing an instance of 'boost::filesystem::filesystem_error' osmo-trx-uhd[4013]: what(): boost::filesystem::status: Permission denied: "/root/.config/uhd.conf" osmo-trx-uhd[4013]: signal 6 received
Actions