Project

General

Profile

Bug #2315

osmo-bts-trx: configure pcu socket to live in run dir

Added by neels 5 months ago. Updated 12 days ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
-
Start date:
06/01/2017
Due date:
% Done:

100%

Spec Reference:

Description

the osmo-bts-trx process still creates a bts <-> pcu socket in /tmp/pcu_bts.
This absolutely has to live in the run dir instead.

Currently this leads to failures when switching the user between tester runs. The socket file is left behind belonging to a different user, which causes the tests to fail.

History

#1 Updated by pespin 4 months ago

  • Assignee changed from osmo-gsm-tester to pespin

#2 Updated by neels 3 months ago

caught me again today.

#3 Updated by neels 3 months ago

It should be simply a matter of adding a vty config to osmo-bts-trx.cfg:

 bts 0
  pcu-socket ${path-in-rundir}

Since we don't operate a PCU yet, no "other side" needs to be adjusted to move to the same path.

#4 Updated by pespin 3 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90

Patch waiting for review in https://gerrit.osmocom.org/#/c/3441/

#5 Updated by pespin 2 months ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100

Merged.
Another patch introducing the "pcu-socket" option in osmo-pcu was merged too. When we integrate omo-pcu, we may want to use that option in its config file.

#6 Updated by laforge 12 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF