Bug 903 - --sysconfdir option ignored
Summary: --sysconfdir option ignored
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.1
Hardware: All FreeBSD
: P3 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
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 (dead mail address) 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 (dead mail address) 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 (dead mail address) 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 (dead mail address) 2005-11-14 09:26:33 UTC
database cleanup