Conversation
Bug Description: `systemd = False` doesn't override `with_systemd = 1` from `defaults.inf` when used with `dscreate`. It is only effective when setup is running in a containerized environment (via `dscontainer`). But for some special use cases it's important that DS installation runs without systemd. Fix Description: Remove the condition for overriding systemd flag. `systemd` option is not exposed in the default template, it's listed there only when `--advanced` flag is used, so it should not affect regular installations. Fixes: 389ds#6099
|
|
|
This uncovered another issue: server can't be stopped, if it was created with |
|
@vashirov Any update on this? I'm hitting this trying to bootstrap an instance running in a container that mounts host directories and this change seems to be what I need. |
|
@mwhahaha, sorry, no updates, this fell through the cracks. I will check it next week. |
|
No worries. Actually I looked into this further and there are some other minor issues when running in a container. The pid file is hardcoded to |
|
@vashirov Hey, can you please rebase and merge it? |
|
@aadhikar, no, it's not ready and not tested properly yet. I converted it to draft, do not merge it yet. |
Bug Description:
systemd = Falsedoesn't overridewith_systemd = 1fromdefaults.infwhen used withdscreate. It is only effective when setup is running in a containerized environment (viadscontainer). But for some special use cases it's important that DS installation runs without systemd.Fix Description:
Remove the condition for overriding systemd flag.
systemdoption is not exposed in the default template, it's listed there only when--advancedflag is used, so it should not affect regular installations.Fixes: #6099