We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
BindPaths
home_mount_prefix
As described in kanidm/kanidm#3214, when home_mount_prefix is set, kanidm-unixd-tasks fails to run due to a missing bind mount.
Steps to reproduce the behavior:
{ systemd.services.kanidm-unixd-tasks.serviceConfig.ReadWritePaths = "/home /var/run/kanidm-unixd /custompath"; services.kanidm = { enablePam = true; clientSettings = { uri = "https://example.com"; }; unixSettings = { default_shell = "${pkgs.bashInteractive}/bin/bash"; uid_attr_map = "name"; gid_attr_map = "name"; home_alias = "name"; home_attr = "uuid"; home_mount_prefix = "/custompath/"; home_prefix = "/home/"; pam_allowed_login_groups = [ "pamgroup" ]; }; }; }
journalctl -eu kanidm-unixd-tasks
kanidm-unixd-tasks should start successfully when home_mount_prefix is set
Adding the bind mount yourself fixes the problem: systemd.services.kanidm-unixd-tasks.serviceConfig.BindPaths = "/custompath";
systemd.services.kanidm-unixd-tasks.serviceConfig.BindPaths = "/custompath";
But it'd be nice if the bind mount was added by the module automatically when home_mount_prefix is set.
@Flakebi @oddlama
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
As described in kanidm/kanidm#3214, when
home_mount_prefix
is set, kanidm-unixd-tasks fails to run due to a missing bind mount.Steps To Reproduce
Steps to reproduce the behavior:
home_mount_prefix
is set to a non-standard path, so anything other than /homejournalctl -eu kanidm-unixd-tasks
Expected behavior
kanidm-unixd-tasks should start successfully when
home_mount_prefix
is setScreenshots
Additional context
Adding the bind mount yourself fixes the problem:
systemd.services.kanidm-unixd-tasks.serviceConfig.BindPaths = "/custompath";
But it'd be nice if the bind mount was added by the module automatically when
home_mount_prefix
is set.Metadata
Notify maintainers
@Flakebi
@oddlama
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: