José Luis Tallón wrote:

>Yannick Lecaillez wrote:
>  
>
>>We have to change this behaviour : no more store user settings into 
>>their respective home directory
>>    
>>
>This was probably a very good idea. It might need some thoughts in order
>to try to keep it. It is IMVHO the best approach
>  
>
I think too. But there is, at least, one disadvantage with that : its
usual for Linux users to have a "system" partition and a home partition.
This way, you could change/upgrade your distribution while keeping your
home partition intact (containing your datas and your settings). That
mean user have to backup himself its user's specifc settings using kdb
-export otherwise these could simply be lost during
reinstallaion/upgrading ...

But the still good advantage is that permit to run daemon as user
everytime. So, i think that need discution

>Good try, wrong location.
>
>It should be stored under /var/lib/elektra:
>    /var/lib/elektra/system.db <= system/ namespace
>    /var/lib/elektra/user:yl.db <= user:yl/ namespace
>    /var/lib/elektra/user:foo.db <= user:foo/ namespace
>
>and docs can still be read from /usr/share/doc/elektra/
>  
>
That's an idea, but configuration are used to be in /etc. But i think
its a detail and the database location should be configurable and let
everyone (i mean users/packagers) to decide what is better for themself
(see "multiple-backend" post).

>>Or perhaps simply a /etc/kdb-berkeley/elektra.db which will then store 
>>everything (in my mind user shouldn't have to copy user:yl.db for backup 
>>its user settings but rather have to use kdb -export.
>>    
>>
>Indeed. And to XML if at all possible (libxml2, right?)
>  
>
kdb import/export is using XML yes.

>Anyway, even though I prefer an unprivileged daemon too, an "isolated
>enough" daemon running as root in order to be able to read user's
>preferences from their home directories might be a good idea, too.
>  
>
Exactly, that need discution. Btw, i'll be happy to add : "* doesn't
require something to be run as root" to the "True facts about elektra" :-)

Hmm ... just got an idea .... Why not store system settings into
/etc/<somewhere> (or /var/lib/<somewhere>) and user's specific into
/home/elektra ? This way users keep their settings if they
change/upgrade their distros and we don't have to run kdbd as root.

Regards,
Yannick.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Registry-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/registry-list

Reply via email to