Project

General

Profile

Actions

Bug #4735

closed

sms.db is created in cwd, which from systemd's point of view is /

Added by keith over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/28/2020
Due date:
% Done:

100%

Resolution:
Spec Reference:

Description

On a Debian system, I noticed sms.db being created in the file system root.

  • The -l flag exists to specify the database name, this could be added to the default service file that we ship with the package.
  • We could use the vty to configure the database path.

We would prefer to move away from command line options. So therefore the db path should be added as a vty config option.

Another alternative from the systemd POV might be to use WorkingDriectory= but this might interfere with core dump files locations?


Related issues

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

Actions
Actions #1

Updated by keith over 1 year ago

NOTE: osmo-hlr uses the -l flag in the systemd.service file to specify the database location.

If we resolve this issue by moving the db location config to the vty/config file then the same should probably be done for the osmo-hlr.

Actions #2

Updated by keith over 1 year ago

Patch Merged to configure the database path from the vty/config
https://gerrit.osmocom.org/#/c/osmo-msc/+/19875/

Actions #3

Updated by keith over 1 year ago

  • % Done changed from 0 to 90
Actions #4

Updated by keith about 1 year ago

  • Status changed from New to Resolved
Actions #5

Updated by keith about 1 year ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100
Actions #6

Updated by keith about 1 year ago

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)