Project

General

Profile

Actions

Bug #6495

closed

systemd/uhd permission issues

Added by Hoernchen 4 days ago. Updated 4 days ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)