Skip to content
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

Hardenize systemd unit #41

Open
bastelfreak opened this issue Apr 11, 2022 · 5 comments
Open

Hardenize systemd unit #41

bastelfreak opened this issue Apr 11, 2022 · 5 comments
Assignees

Comments

@bastelfreak
Copy link
Member

We have a basic systemd unit file at https://github.com/betadots/hdm/pull/40/files#diff-6a4ba7e2b78ee8953da5086899d9ba08d3cdb26164e9b4ecf7d5aa87fe665438

while this seems to work, we should implement some hardening. systemd provides many options for that.

@bastelfreak bastelfreak self-assigned this Apr 11, 2022
@tuxmea
Copy link
Member

tuxmea commented Nov 8, 2022

@bastelfreak can you please specify which hardening options we need?
This file is managed by puppet-hdm: https://github.com/betadots/puppet-hdm/blob/main/templates/hdm.service.epp

@tuxmea
Copy link
Member

tuxmea commented Mar 23, 2023

@bastelfreak usually we run HDM in docker container.
RMV and systemd is onyl used in development mode.
Do we really need to "hardenize" systemd unit file in DEV mode?

@bastelfreak
Copy link
Member Author

I would like to support running hdm without a docker container. I've the code ready, just need to fix up the acceptance tests. Or do we only want to support hdm in containers?

@rwaffen
Copy link
Member

rwaffen commented Apr 24, 2023

for production systems i would only recommend the container. as martin said: rvm/systemd is only for dev-mode. i wouldn't put much effort into this. as long as there is no strong demand from the community, i would concentrate only on the container.

@tuxmea
Copy link
Member

tuxmea commented Aug 10, 2023

@bastelfreak Do you still see a need for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants