Attention is currently required from: falconia, pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/37287?usp=email )
Change subject: trau_rtp_conv: add support for HRv1 in 8k format
......................................................................
Patch Set 3: Code-Review+1
(1 comment)
Patchset:
PS3:
it seems we only have unit tests for the Ericsson proprietary PCU Trau frames. It of course would be great to also have that for the standard formats. It's sad that the existing ones don't have coverage, and it would certainly be great but not required to add some for the new 8k format.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/37287?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I8ee01b73360501ca380a8695cbc7070ceaaba1be
Gerrit-Change-Number: 37287
Gerrit-PatchSet: 3
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 26 Jun 2024 13:34:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/37295?usp=email )
Change subject: contrib/systemd/osmo-trx-uhd: fix HOME=
......................................................................
contrib/systemd/osmo-trx-uhd: fix HOME=
With recent changes, osmo-trx-uhd does not run as root anymore. Change
HOME=%h, which evaluates to HOME=/root, to HOME=%S/osmocom which
evaluates to HOME=/var/lib/osmocom. This is the StateDirectory that is
owned by the osmocom user.
Fix for:
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
Fixes: OS#6495
Change-Id: Ic6f020dd800eedc5e56c7d71e65521ec831d8c64
---
M contrib/systemd/osmo-trx-uhd.service
1 file changed, 21 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
Hoernchen: Looks good to me, approved
diff --git a/contrib/systemd/osmo-trx-uhd.service b/contrib/systemd/osmo-trx-uhd.service
index 64eb510..50440a7 100644
--- a/contrib/systemd/osmo-trx-uhd.service
+++ b/contrib/systemd/osmo-trx-uhd.service
@@ -8,7 +8,7 @@
Restart=always
StateDirectory=osmocom
WorkingDirectory=%S/osmocom
-Environment=HOME=%h
+Environment=HOME=%S/osmocom
User=osmocom
Group=osmocom
ExecStart=/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/37295?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic6f020dd800eedc5e56c7d71e65521ec831d8c64
Gerrit-Change-Number: 37295
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/37295?usp=email )
Change subject: contrib/systemd/osmo-trx-uhd: fix HOME=
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> Should this be the state directory
It has to be inside the state directory, as the osmocom user doesn't have write access anywhere else.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/37295?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic6f020dd800eedc5e56c7d71e65521ec831d8c64
Gerrit-Change-Number: 37295
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 26 Jun 2024 12:58:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hoernchen <ewild(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: osmith.
Hoernchen has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/37295?usp=email )
Change subject: contrib/systemd/osmo-trx-uhd: fix HOME=
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Patchset:
PS1:
Should this be the state directory
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/37295?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic6f020dd800eedc5e56c7d71e65521ec831d8c64
Gerrit-Change-Number: 37295
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 26 Jun 2024 12:57:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/37295?usp=email )
Change subject: contrib/systemd/osmo-trx-uhd: fix HOME=
......................................................................
contrib/systemd/osmo-trx-uhd: fix HOME=
With recent changes, osmo-trx-uhd does not run as root anymore. Change
HOME=%h, which evaluates to HOME=/root, to HOME=%S/osmocom which
evaluates to HOME=/var/lib/osmocom. This is the StateDirectory that is
owned by the osmocom user.
Fix for:
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
Fixes: OS#6495
Change-Id: Ic6f020dd800eedc5e56c7d71e65521ec831d8c64
---
M contrib/systemd/osmo-trx-uhd.service
1 file changed, 21 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/95/37295/1
diff --git a/contrib/systemd/osmo-trx-uhd.service b/contrib/systemd/osmo-trx-uhd.service
index 64eb510..50440a7 100644
--- a/contrib/systemd/osmo-trx-uhd.service
+++ b/contrib/systemd/osmo-trx-uhd.service
@@ -8,7 +8,7 @@
Restart=always
StateDirectory=osmocom
WorkingDirectory=%S/osmocom
-Environment=HOME=%h
+Environment=HOME=%S/osmocom
User=osmocom
Group=osmocom
ExecStart=/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/37295?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic6f020dd800eedc5e56c7d71e65521ec831d8c64
Gerrit-Change-Number: 37295
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange