[Box Backup] default config dir

Alexandre Chapellon a.chapellon at horoa.net
Fri Mar 25 09:48:04 GMT 2011


Hello,

This morning, trying to go ahead with boxbackup I noticed an error while
trying to create an account on the server.

sudo bbstoreaccounts create 1 0 2000 2048
ERROR:   FileHandleGuard: failed to open file
'/etc/boxbackup/bbstored.conf': No such file or directory (2)
TRACE:   Obtained 6 stack frames.
TRACE:   Stack frame 0: bbstoreaccounts(DumpStackBacktrace()+0x26)
[0x48f176]
TRACE:   Stack frame 1: bbstoreaccounts(FileHandleGuard<0,
438>::FileHandleGuard(std::string const&)+0x38d) [0x41f29d]
TRACE:   Stack frame 2:
bbstoreaccounts(Configuration::LoadAndVerify(std::string const&,
ConfigurationVerify const*, std::string&)+0x54) [0x47b124]
TRACE:   Stack frame 3: bbstoreaccounts(main+0x12a) [0x41a8aa]
TRACE:   Stack frame 4: /lib/libc.so.6(__libc_start_main+0xfd)
[0x7f9334479c4d]
TRACE:   Stack frame 5: bbstoreaccounts() [0x416129]
WARNING: Exception thrown: CommonException(OSFileOpenError)
at ../../lib/common/Guards.h(102)
Exception: Common OSFileOpenError (Can't open a file -- attempted to
load a non-existant config file or bad file referenced within?) (1/2)

Indeed the /etc/boxbackup directory doesn't exist, because I didn't
created it.
But the online wiki shows /etc/box as the default config-dir.
Furthermore the commented source code in ./lib/server/Daemon.cpp:449
seems to tell that /etc/boxbackup is deprecated in favour of /etc/box.

It seems to me that parts of the code still uses /etc/boxbackup. Is it
something made on purpose for some backward compat or is it just the
current (to be changed) state of the rc8?
 
-- 
horoa: la voie est libre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.boxbackup.org/pipermail/boxbackup/attachments/20110325/11313af2/attachment.bin>


More information about the Boxbackup mailing list