Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Debian package ships with stale config #4441

Closed
ara4n opened this issue Oct 18, 2017 · 5 comments
Closed

Debian package ships with stale config #4441

ara4n opened this issue Oct 18, 2017 · 5 comments
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers z-p2 (Deprecated Label)

Comments

@ara4n
Copy link
Member

ara4n commented Oct 18, 2017

It feels like a recipe for disaster and confusion that the output of debconf doesn't remotely resemble what you get from --generate-config. Surely we should sync them (especially confusing if generate-config overwrites the config, and so undoes debconf's work - as extracted out of the bile in #2455).

@ara4n
Copy link
Member Author

ara4n commented Oct 18, 2017

It also doesn't sound like it generates TLS or signing keys, causing the user to run --generate-config, and thence pain.

@richvdh
Copy link
Member

richvdh commented Oct 18, 2017

The service start script generates the TLS and signing keys, so there's no need for users to try and generate them manually.

--generate-config won't overwrite any existing files.

I think the solution is to stop encouraging users to run it every time they hit any sort of problem, rather than trying to make it completely compatible with the debian-installed default. #2551 includes an attempt at this.

In short: can close this please?

@ara4n
Copy link
Member Author

ara4n commented Apr 11, 2018

so this stops us from encouraging users to run --generate-config whenever something goes wrong.

but we still have the problem that debconf produces a very stale config which doesn't resemble the up-to-date output you'd get from a --generate-config?

@richvdh
Copy link
Member

richvdh commented Jan 23, 2019

Transferring this to synapse repo, since the packaging is maintained there (and it is still a problem in matrix-synapse-py3)

@richvdh richvdh changed the title Config generated by debconf doesn't resemble --generate-config output Debian package ships with stale config Jan 23, 2019
@richvdh richvdh transferred this issue from matrix-org/package-synapse-debian Jan 23, 2019
@neilisfragile neilisfragile added A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers z-p2 (Deprecated Label) labels Jan 24, 2019
@richvdh
Copy link
Member

richvdh commented Jan 25, 2019

fixed by #4444

@richvdh richvdh closed this as completed Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

3 participants