On 10/04/2010 01:15 PM, BJ Dierkes wrote: > Hello all, as of the drizzle7 beta release, configuration file parsing seems > to be broken... but I wanted to discuss here to see if I'm not missing > something before filing any bugs. > > # cat /etc/redhat-release > Fedora release 12 (Constantine) > > # rpm -qa | grep drizzle > libdrizzle-2010.09.1802-1.fc12.x86_64 > drizzle7-lib-2010.09.1802-1.fc12.x86_64 > drizzle7-2010.09.1802-1.fc12.x86_64 > drizzle7-server-2010.09.1802-1.fc12.x86_64 > > # drizzled --help | grep config > --config-dir arg (=/etc/drizzle) Base location for config files > > # 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 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? > > # sudo -u drizzle drizzled --datadir /var/lib/drizzle > InnoDB: The InnoDB memory heap is disabled > InnoDB: Mutexes and rw_locks use GCC atomic builtins. > 101004 20:11:53 InnoDB: highest supported file format is Barracuda. > 101004 20:11:53 InnoDB Plugin 1.0.4 started; log sequence number 44254 > Listening on 0.0.0.0:4427 > Listening on :::4427 > Listening on 0.0.0.0:3306 > Listening on :::3306 > drizzled: ready for connections. > Version: '2010.09.1802' Source distribution (drizzle) > > > > Is there some reason that the configurations in /etc/drizzle/drizzled.cnf are > not being parsed? The '--help' for '--config-dir' implies that /etc/drizzle > is the default... though even passing '--config-dir /etc/drizzle' does not > change anything. > > --- > derks > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~drizzle-discuss > Post to : [email protected] > Unsubscribe : https://launchpad.net/~drizzle-discuss > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

