-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Parsec installation as a systemd daemon #49
Comments
This should exist only to test |
An installation script could be used out of this! |
I've been looking at this issue and I think we need to clarify its requirements. For information only:
The small issues I noticed:
The main question I have now is what exactly do we want to achieve with this issue?
|
@hug-dev did most (all?) of the work around setting up the "Parsec-as-a-systemd-service" feature, so I can't really comment on most of these things, but I will touch on (3) briefly: |
The question about "where the parsec socket is" exists in all cases, not only in socket activated systemd service. |
Not if the socket path is hardcoded and everyone knows exactly where it should be! Then it might, at most, become a problem for the admin if that path is not available. |
Sure, I just meant that the path should be properly documented because it's needed for all cases. |
The reason why a lot of this isn't solidly decided on yet is that we've not had a proper production use case to aim and cater for. Making the path as Parsec specific as possible is definitely a good aim! I think having root privileges for deployment is sensible to expect, as long as anyone can actually access the socket and write/read from it. It would certainly mitigate some possible threats around other users impersonating Parsec by popping a socket at the right path in the /tmp folder. |
FHS even recommends to use /run instead of /var/run (although I saw deployments where / was mounted read-only) Anyway, we just need to remember that for development/manual testing we should be able to run parsec without root privileges. |
Thanks for your investigation! A few comments on my side:
Having at least one installation method that is tested (can be nightly) on the CI would be good I think to make sure that it is possible. Even if that installation method will change in the future. |
@joechrisellis looked at it in #218 |
Closed in favor of #245 |
It would be nice to have PARSEC installed and run inside a Docker container as a
systemd
daemon from a local checkout of this repository.The container could share with the host the Unix socket to communicate with the daemon.
This could be put in the CI to test
systemd
installation.The text was updated successfully, but these errors were encountered: