[Samba] [WIP][PATCH] 'fix' smbspool_krb5_wrapper, libexecdir and ctdb helper binary locations for 4.4

Andrew Bartlett abartlet at samba.org
Sun Mar 20 21:08:14 UTC 2016


On Sun, 2016-03-20 at 18:57 +0000, Miguel Medalha wrote:
>> Thank you for writing the patch.
> 
> Maybe I am being picky or (most probably) ignoring some valid
> motive, 
> but why does "smbspool_krb5_wrapper" need a "libexec" directory just
> for 
> itself? Was there something wrong with keeping this file in 
> "/usr/local/samba/bin" as it happened with samba 4.3.6? Why
> complicate 
> the tree?

Binaries that should not be executed by the user/administrator do not
belong in bin, they belong in libexec, per long tradition (but not the
current FHS, oddly).

It is in the 3.0 rc2 version here:
https://www.linuxbase.org/betaspecs/fhs/fhs/ch04s07.html

If you need a rationale, it could be not to put in the path things that
the admin or user should not directly execute. 

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba









More information about the samba mailing list