Project

General

Profile

Bug #4820

gsn_restart is created in CWD

Added by keith 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/19/2020
Due date:
10/20/2020
% Done:

100%

Spec Reference:

Description

Similar to osmo-msc issue #4735, cwd is / when run from systemd, so we get gsn_restart file created in the system root.


Related issues

Related to Cellular Network Infrastructure - Bug #4821: Update working dir in systemd unit files New10/20/2020

Associated revisions

Revision 2158c69e (diff)
Added by keith 5 months ago

VTY: Add gtp state-dir command

The SGSN initialises GTP with gtp_statedir of "./" which may
not be the desired path for writing the gsn_restart file.
When starting from systemd for example, we might write
to the system root.

This patch allows override via the config file.

Closes: OS#4820
Change-Id: Ib3ffb7fd6ea1d9b0286111d8c2cba9da5394ca58

History

#1 Updated by keith 5 months ago

Submitted https://gerrit.osmocom.org/c/osmo-sgsn/+/20798 to add state-dir path to config

#2 Updated by keith 5 months ago

  • % Done changed from 0 to 50

#3 Updated by keith 5 months ago

  • Due date set to 10/20/2020
  • Status changed from New to Resolved
  • % Done changed from 50 to 100

Patch Merged

#4 Updated by keith 5 months ago

  • Related to Bug #4821: Update working dir in systemd unit files added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)