New CentOS7 tids.service does not use the RHEL6 sysconfig files
Bug #1598856 reported by
Stefan Paetow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moonshot Trust-Router |
Triaged
|
Low
|
Jennifer Richards |
Bug Description
The new RHEL/CentOS 7 tids.service file does not use the existing RedHat/CentOS 6 files for the TIDS service. This causes an eventual failure:
1. It should read /etc/sysconfig/
2. ExecStart should use: /usr/bin/tids ${TIDS_SERVER_IP} ${TIDS_GSS_NAME} ${TIDS_SERVER_NAME} (currently it uses the Debian-style "${ipaddr} ${gssname} ${hostname}" command-line)
Should we tweak the packages to fix this to RHEL 6 style or shall we break with convention to match Debian and RHEL 7 up?
Changed in moonshot-tr: | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → Jennifer Richards (jennifer-k) |
To post a comment you must log in.
/etc/sysconfig and /etc/default are kind of legacy.
As a quick fix, the unit file should read /etc/sysconfig/tids as an EnvironmentFile.
As a proper fix, tids should:
* look for an activated socket and use it
* look for a config file and load it (optional)
* if not overridden by config, use the system fqdn as the GSS name and listen on all addresses[1]
[1] turns out we don't actually use the IP specified on the command line - it's passed through to tids_listen() but:
108: saddr-> sin_addr. s_addr = INADDR_ANY;