Comment 21 for bug 722201

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Future possible issue while ctdb is not merged to *at least* samba-4.9.8 (in Debian):

commit 49fa08814e2a1032e88353eec42b952316d6ec18
Author: Martin Schwenke <email address hidden>
Date: Wed Mar 20 07:22:43 2019

    ctdb-scripts: Update statd-callout to try several configuration files

    The alternative seems to be to try something via CTDB_NFS_CALLOUT.
    That would be complicated and seems like overkill for something this
    simple.

    BUG: https://bugzilla.samba.org/show_bug.cgi?id=13860

    Signed-off-by: Martin Schwenke <email address hidden>
    Reviewed-by: Amitay Isaacs <email address hidden>
    (cherry picked from commit a2bd4085896804ee2da811e17f18c78a5bf4e658)

BUT, still, isn't appropriate since Debian systemd NFS server script is called either nfs-kernel-server.service (or an alias called nfs-server.service) OR nfs-ganesha.service (if using the userland nfs server version).

/etc/ctdb/statd-callout:

 - place non-upstream (?) patch (DEP3) inside debian/patches(quilt)

 load_system_config "nfs-kernel-server"

        ...

 ############################################################

 # ctdb_setup_state_dir "service" "nfs"
 ctdb_setup_state_dir "service" "nfs-kernel-server"