Using the SmartServer of v0.15 with xinetd

Thomas Ackermann tja at tja-server.de
Thu Apr 12 17:03:23 BST 2007


John Arbash Meinel schrieb:
> What is $HOME set to for the running bzr process?
>
> If you are getting a failure to open /root/.bzr.log it sounds like $HOME
> is set to /root. Which will also have implications for ~/.bazaar/
> ~/.bazaar/plugins, etc.
>   

Hello John,
"bzr" is started from "xinted" but as user "bzruser".

I configured .profile and .bashrc in the $HOME of "bzruser" to 
explicitely set it:

localhost:~ # su - bzruser
bzruser at localhost:~> echo $HOME
/home/archive/bzr

Let´s test:

bzruser at localhost:~> bzr log bzr://localhost:22618
bzr: ERROR: Generic bzr smart protocol error: unexpected smart server 
error: ("failed to open trace file: [Errno 13] Permission denied: 
'/root/.bzr.log'",)



No chance :-(

Do i possibly need to add some variable to the brz-file in 
/etc/xinetd.conf?!?




More information about the bazaar mailing list