Project

General

Profile

Bug #4735

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

Added by keith 29 days ago. Updated 15 days ago.

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

90%

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?

History

#1 Updated by keith 29 days 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.

#2 Updated by keith 28 days ago

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

#3 Updated by keith 28 days ago

  • % Done changed from 0 to 90

#4 Updated by keith 15 days ago

  • Status changed from New to Resolved

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)