mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Require kanidm-unixd before kanidm-unixd-tasks (#2687)
The kanidm-unixd-tasks service refuses to start before kanidm-unixd: ``` systemd[1]: Started Kanidm Local Tasks. (xd_tasks)[29469]: kanidm-unixd-tasks.service: Failed to set up mount namespacing: /run/systemd/unit-root/run/kanidm-unixd: No such file or directory (xd_tasks)[29469]: kanidm-unixd-tasks.service: Failed at step NAMESPACE spawning /usr/sbin/kanidm_unixd_tasks: No such file or directory systemd[1]: kanidm-unixd-tasks.service: Main process exited, code=exited, status=226/NAMESPACE systemd[1]: kanidm-unixd-tasks.service: Failed with result 'exit-code'. ``` Resolve this by ensuring kanidm-unixd gets activated as a dependency. The ordering ("After") is already in place. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
e51d0dee44
commit
8a1b7b56d2
|
@ -4,6 +4,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Kanidm Local Tasks
|
Description=Kanidm Local Tasks
|
||||||
After=chronyd.service ntpd.service network-online.target kanidm-unixd.service
|
After=chronyd.service ntpd.service network-online.target kanidm-unixd.service
|
||||||
|
Requires=kanidm-unixd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
|
|
Loading…
Reference in a new issue