Subject: [bug#51739] [PATCH 1/3] gnu: Add realmd.

From: phodina <[email-masked]>
Date: Thu, 02 Dec 2021 21:50:02 +0000

Hi Leo,

thanks for the comments.

>> +         (add-before 'install 'fix-service> +           >(lambda* (#:key outputs #:allow-other-keys)> +             ;; >Don't copy config file> +             (substitute* "Makefile"> +               >((".*/service/realmd-.*") "")))))))
>Can you clarify what this does? It wasn't in earlier revisions >of thepatch.

So the whole reason why there was the patch attached is that realmd is querying the distro to use later specific config for the service. As suggested this can be overcome by using --with-distro.

However, it still tries to install the configuration file located in the sources under service/realmd-*.

There are files for debian, redhat and suse. Plus there is one labeled as default.

Since it also needs other packages such as samba, winbind, sssd, adcli and kfb5 the idea was to leave the configuration file up to a realmd service. Though that one is not yet implemented.

I'll probably refactor the comment as it's not that descriptive.

Petr