Remove the 'dynconfig' command line options for 4.2 or 4.3?
Stefan (metze) Metzmacher
metze at samba.org
Wed Feb 12 00:36:15 MST 2014
Am 12.02.2014 01:52, schrieb Andrew Bartlett:
> On Sat, 2014-01-18 at 09:00 +0100, Stefan (metze) Metzmacher wrote:
>> Am 08.01.2014 02:19, schrieb Andrew Bartlett:
>>> I'm working with Garming Sam to generate our loadparm system from the
>>> XML documentation, or at the very least to have tests to assert that the
>>> defaults match the documentation.
>>>
>>> One potential roadblock to a clean solution here is our dynconfig layer,
>>> in particular the options like --bindir that the source3 binaries have.
>>>
>>> Added by James Peach (CC'ed) in 2006, before the --option syntax
>>> existed, these were originally intended to make test harnesses easier to
>>> write. The dynconfig system itself was added to make it more reliable
>>> to rebuild Samba with different ./configure options in the autoconf
>>> build system.
>>>
>>> As such, I would like to discuss removing these for 4.2 or 4.3, or to
>>> understand what the current important use cases are.
>>>
>>> The options affected would be:
>>>
>>> --sbindir
>>> --bindir
>>> --lmhostsfile
>>> --libdir
>>> --modulesdir
>>> --shlibext
>>> --lockdir
>>> --statedir
>>> --cachedir
>>> --piddir
>>> --smb-passwd-file
>>> --private-dir
>>>
>>> We have moved away from dynconfig internally, using lp_set_cmdline()
>>> where possible, and the --option syntax will remain.
>>>
>>> That said, if folks feel we need to keep these, then most of them can be
>>> emulated that way also.
>>>
>>> Attached is a patch for demonstration just removing these options.
>>
>> I don't see the need for these options...
>
> Given we had no other responses, can you review the patch?
>
> This will allow us to auto-generate the smb.conf defaults, because they
> will be able to be read from the docs, including paths.
Pushed to autobuild.
metze
More information about the samba-technical
mailing list