Skip to content

Changes

Summary

  1. doc: set state-dir to /var/lib/osmocom/osmo-sgsn (details)
Commit 0cc911c9b11ff4cd5ce30d0e6cb93e718fea09c7 by Oliver Smith
doc: set state-dir to /var/lib/osmocom/osmo-sgsn

Be consistent with osmo-ggsn, and set the state dir to
/var/lib/osmocom/osmo-sgsn. Without this patch, it defaults to the
current directory, which means in case of running with the systemd
service, /var/lib/osmocom.

Copy osmo-sgsn.cfg and osmo-sgsn-accept-all.cfg to the tests dir and do
not set the state-dir there. Usually the user that runs the VTY and CTRL
tests is not allowed to write to /var/lib/osmocom. (I've also tried
generating these on the fly, but that breaks in 'make distcheck', as I
would need to write to the source dir or would need to change
osmo-python-tests etc. to read the config file from another directory.)

Related: osmo-ggsn I5b51529b4f8bd2462e54f58a1ce2e2d7c76ff46a
Change-Id: I309807ff0bc125d4653222b2b4ba69ded3bbff70
The file was modified doc/examples/osmo-sgsn/osmo-sgsn-accept-all.cfg
The file was modified osmoappdesc.py
The file was addedtests/osmo-sgsn-accept-all.cfg
The file was modified tests/vty_test_runner.py
The file was modified doc/examples/osmo-sgsn/osmo-sgsn.cfg
The file was addedtests/osmo-sgsn.cfg
The file was modified tests/Makefile.am
The file was modified doc/examples/osmo-sgsn/osmo-sgsn_custom-sccp.cfg
The file was modified tests/ctrl_test_runner.py