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

Mathieu Parent math.parent at gmail.com
Sun Apr 3 07:40:52 BST 2022


On Sat, Apr 2, 2022 at 5:11 PM Michael Tokarev <mjt at tls.msk.ru> wrote:
>
> Hi!
>
> I'm not sure why we have --libexecdir=/usr/lib/${DEB_HOST_MULTIARCH}
> in configure options.

libexec was forbidden in Debian at that time.

> 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.

Yes. If we move this file, we need to mention it in the NEWS file.

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

OK

> 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?

Does this introduce a multiarch problem?

> Thanks,
>
> /mjt
>
> _______________________________________________
> Pkg-samba-maint mailing list
> Pkg-samba-maint at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-samba-maint



-- 
Mathieu



More information about the Pkg-samba-maint mailing list