Bug 903 - --sysconfdir option ignored
--sysconfdir option ignored
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.1
All FreeBSD
: P3 normal
: none
Assigned To: Gerald (Jerry) Carter
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-12-18 22:38 UTC by Pavel V.Zheltobryukhov
Modified: 2005-11-14 09:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel V.Zheltobryukhov 2003-12-18 22:38:45 UTC
I run configure script with options

./configure --libdir=/usr/local/lib/samba --sysconfdir=/usr/local/etc

When I start Samba after building, I get a message that  smb.conf not found in /usr/local/lib/samba not in 
/usr/local/etc
Comment 1 Gerald (Jerry) Carter 2003-12-19 05:17:29 UTC
It's a bug in that --with-fhs will not let you overreide 
the defaults (even if you don't enable that option).
Comment 2 Gerald (Jerry) Carter 2004-03-08 09:32:44 UTC
You have to use --with-configdir=<path>.  
Or you can do something like:

  ./configure --sysconfdir=/etc --with-configdir=@sysconfdir@/samba



Comment 3 Gerald (Jerry) Carter 2005-08-24 10:22:33 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 4 Gerald (Jerry) Carter 2005-11-14 09:26:33 UTC
database cleanup