Project

General

Profile

Actions

Bug #6148

closed

config file not installed not used by systemd service in debian

Added by pespin 12 months ago. Updated 12 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/24/2023
Due date:
% Done:

100%


Description

  • The config file under examples/sys.config is not being installed by debian/ rules afaict.
  • We should actually move that under doc/examples like the other osmocom projects, and install it under /usr/share and /etc like we do in other osmocom projects.
  • Probably also rename the file s/sys.config/osmo_dia2gsup.config/
  • Also, the systemd service under contrib/systemd doesn't seem to be using the config file. It should be passed as env var in the systemd file:
    ERL_FLAGS='-config /etc/osmocom/osmo_dia2gsup.config' osmo-dia2gsup
    

Related issues

Related to OsmoDia2GSUP - Bug #6450: osmo_dia2gsup service has two timestamps for each log line in journalctlResolvedfixeria05/10/2024

Actions
Actions #1

Updated by laforge 10 months ago

  • Assignee set to pespin
Actions #2

Updated by laforge 18 days ago

ping? This sounds like a relatively serious (and trivial?) issue?

Actions #3

Updated by fixeria 15 days ago

  • Related to Bug #6450: osmo_dia2gsup service has two timestamps for each log line in journalctl added
Actions #4

Updated by fixeria 15 days ago

  • Status changed from New to In Progress
  • Assignee changed from pespin to fixeria
Actions #5

Updated by fixeria 15 days ago

  • % Done changed from 0 to 80

Not tested yet:

remote: https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/37717 debian: install sys.config to /etc/osmocom/osmo-dia2gsup.config [NEW]
remote: https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/37718 osmo_dia2gsup.service: use /etc/osmocom/osmo_dia2gsup.config [NEW]

Actions #6

Updated by fixeria 14 days ago

  • Status changed from In Progress to Feedback
  • % Done changed from 80 to 100

With some amendments I got it working on a Debian machine.

Actions #7

Updated by fixeria 12 days ago

  • Status changed from Feedback to Resolved

Patches have been merged.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)