[Pkg-samba-maint] moving libexec from /usr/lib/$multiarch/ to /usr/libexec/

Michael Tokarev mjt at tls.msk.ru
Sat Apr 2 16:11:04 BST 2022


Hi!

I'm not sure why we have --libexecdir=/usr/lib/${DEB_HOST_MULTIARCH}
in configure options.  This makes sense if the (helper) binaries
located in there are used by the binaries we're providing *only*,
and in particular, can't be used in config files.

We already have smbspool_krb5_wrapper which appears to be runnable
from some other tool.

And now we have an etcd helper script in ctdb (which installs into
$libexecdir/ctdb/) which should be specified in the config file.

And current debian practice is to use /usr/libexec/ not /usr/lib/
as it was some time ago.

On the samba side, this boils down to the new executables which
appeared in 4.16 (rpc_* services, and samba-dcerpcd & samba-bgpd),
which goes to /usr/libexec/samba/

I'm applying this change (move from /usr/lib/$multiarch/ to
/usr/libexec/ for --libexecdir).  Do you think there might be
some issues in there which I don't see, for some other packages?

Thanks,

/mjt



More information about the Pkg-samba-maint mailing list