painless-security / trust-router

Moonshot Trust Router
0 stars 0 forks source link

trustrouter service not installed by Debian package #5

Open jennifer-richards opened 6 years ago

jennifer-richards commented 6 years ago

At least on the experimental 3.0.0 trust router package, a trustrouter service is not created when the deb is installed. The tids.service is installed, but fails to work (there is a separate issue for this). I'm not sure whether there is a connection between these.

Launchpad Details: #LP1701589 Jennifer Richards - 2017-06-30 14:39:49 +0000

jennifer-richards commented 6 years ago

As I recall, tids and trust-router were packaged in the same binary package. So it's not really clear which you want to run, and they both require configuration anyway.

my assumption for how it ought to work for Debian is that you package service files for both, and that the user needs to systemctl enable which services they want after configuration. It would be reasonable to provide debconf to ask initial configuration questions and to enable the services that are desired once initial configuration has been made. However that would be a bit non-trivial in terms of debconf to write, and I hadn't gotten around to it either with my Debian or former Painless Security hats on.

I don't think splitting the binary package would have much value. You could know which services you wanted then simply from which of two conflicting packages were installed. However, you're still left with the configuration.

Launchpad Details: #LPC Sam Hartman - 2017-06-30 15:22:51 +0000

jennifer-richards commented 6 years ago

Thanks. I think installing both services but not starting either would be fine, certainly for the immediate fix.

Launchpad Details: #LPC Jennifer Richards - 2017-06-30 15:28:27 +0000