[Samba 4] minor bug in configure script?

Andrew Bartlett abartlet at samba.org
Tue May 12 06:40:09 GMT 2009


On Thu, 2009-04-30 at 15:58 +0200, Torsten Kurbad wrote: 
> Hi list,
> 
> today I created a Gentoo-ebuild for samba-4.0.0_alpha7 and discovered a
> minor glitch during compilation/install:
> 
> If I do a
> 
> ./configure --sysconfdir=/etc/samba && make && make install
> 
> I get a directory /etc/samba/samba, which doesn't seem to be used by
> anything. This got me confused, since I changed --sysconfdir to /etc in
> the ebuild, getting /etc/samba on install, where my smb.conf resides.
> But afterwards, commands like smbclient, net, etc. didn't recognize that
> smb.conf, instead they were expecting it in /etc, which corresponds
> with my setting of --sysconfdir.
> 
> So, why is the .../samba subdirectory created? Do some tools rely on
> this?

If we create it, but don't use it, then it seems like a bug to me.  The
challenge is finding where we create it, and why :-)

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090512/a2acda47/attachment.bin


More information about the samba-technical mailing list