On 10/04/2010 03:38 PM, BJ Dierkes wrote:
> 
> 
> On Oct 4, 2010, at 5:22 PM, Monty Taylor wrote:
>>> # cat /etc/drizzle/drizzled.cnf
>>> [drizzled]
>>> pid_file = /var/run/drizzle/drizzled.pid
>>> datadir = /var/lib/drizzle
>>
>> This is the first problem ^^^^
>>
>> There should be no [drizzled] section - a section header in the new
>> config system implies a prefix, so what that config file is saying is
>> the equivilent of:
>>
>> --drizzled.pid_file=/var/run/drizzle/drizzled.pid
>> --drizzled.datadir=/var/lib/drizzle
>>
> 
> That makes sense.
> 
> 
>> That being said, there are a few bugs with config file parsing in the
>> beta and I have a branching coming that fixes them.
>>
>>> # sudo -u drizzle drizzled
>>> /var/.temporary: Permission denied
>>> _mcleanup: gmon.out: Permission denied
>>
>> This is weird to me ... why it decided that the default for datadir
>> would be /var is odd... how were you running configure?
> 
> I am using the default %{configure} with rpmbuild + --enable-profiling, which 
> equates to:
> 
> ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu \
>         --program-prefix= \
>         --disable-dependency-tracking \
>         --prefix=/usr \
>         --exec-prefix=/usr \
>         --bindir=/usr/bin \
>         --sbindir=/usr/sbin \
>         --sysconfdir=/etc \
>         --datadir=/usr/share \
>         --includedir=/usr/include \
>         --libdir=/usr/lib64 \
>         --libexecdir=/usr/libexec \
>         --localstatedir=/var \
>         --sharedstatedir=/var/lib \
>         --mandir=/usr/share/man \
>         --infodir=/usr/share/info \
>         --enable-profiling

Ah, ok. Just so you know datadir defaults to localstatedir - so it might
be win to add --localstatedir=/var/lib/drizzle.


_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to