From: Aaron L. <aa...@lu...> - 2006-06-10 09:06:14
|
On Wed, 2006-06-07 at 18:22 -0600, Aaron Luchko wrote: > On Thu, 2006-06-08 at 02:01 +0200, inf...@wa... wrote: > > Hi Aaron, > > > > a quick suggestion.. you might like to check that the directories and files > > in /etc/ntpv and /etc/ntpv_backoffice all have their groups set to 'ntpv' and > > are readable and writeable for the group. The account running the programs > > also has to be a member of group 'ntpv' > > Thanks for the reply. > > All files belong to root and the ntpv group and have permissions such as > this one > > -rw-rw-r-- 1 root ntpv 296 Jun 7 16:16 /etc/ntpv/bar_database.xml > > During the first make install I had to create the ntpv group manually > since fedora doesn't have /usr/sbin/addgroup but since then I > uninstalled then reinstalled ntpv so I don't think that this is causing > any problems unless there's something wrong with how I created the > group. Ok, I got it working, or at least I think I have (I don't speak Spanish so it's kinda hard to tell!). For the lack of /usr/sbin/addgroup I wrote a small patch that will try /usr/sbin/groupadd if addgroup is missing, if groupadd is missing as well it will print out a warning. I attached the patch to this message as the only other place I could think to send it is the patches section of the sourceforge project (though I'm not sure if anyone looks at that) http://sourceforge.net/tracker/?group_id=131427&atid=721032 The second problem is that both for the installation of ntpv and ntpv_backoffice the postinstall script is run too early, before all the files have been added to the /etc/ntpv and /etc/ntpv_backoffice directories, and as a result many of the files don't belong to the ntpv group. I don't know enough about qmake to know why this is happening but as a work around one merely need run the ntpv{,bo}/postinst scripts after the install (typing make install a second time). The only other problem I get is a message " QSqlDatabase: QPSQL7 driver not loaded QSqlDatabase: available drivers: " popping up on the console though this is likely the result of not having the fedora equivalent of the libqt3c102-mt-psql libraries installed. thanks, Aaron |