Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52146 - dchub looses all settings when restarting
Summary: dchub looses all settings when restarting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 17:14 UTC by Adriaan Van Bauwel
Modified: 2004-07-17 07:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adriaan Van Bauwel 2004-05-26 17:14:56 UTC
dchub starts up with default settings every time.  Custom settings such as Hub name etc that should be stored in the database do not get saved.

I think this has to do with the privileges on the /etc/dchub/dchub.conf.db file (due to the ownership change from root to nobody after load?).  chmod 777 /etc/dchub/dchub.conf.db solved the problem.



Reproducible: Always
Steps to Reproduce:
1. alter hub name from within dc++ client (-dbset hubname name)
2. restart hub
3. check db settings (-dblist)


Actual Results:  
dbhub reloaded with the default settings, not with the new hubname

Expected Results:  
hubname should have been altered

easy workaround: chmod 777 /etc/dchub/dchub.conf.db
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-07-05 10:42:27 UTC
please try dchub-0.5.2 in portage and report on it.
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-07-17 07:11:32 UTC
As it's been sitting here a while and works on my systems, I'll assume this package is fixed. Please reopen if you should run into problems with dchub-0.5.2.