Comment 4 for bug 106117

Revision history for this message
yuri (yuriry) wrote :

It would probably be better to have a command line parameter specifying the log file to avoid setting evn variable in xinetd's configuration file.

It would also be nice to fix original problem so that instead of logging to /root/.bzr.log, bzr would log by default to .bzr.log file in bzruser's home directory .

Currently bzr's default log file depends on how xinetd is started.

If xinetd is started at system boot time then bzr will try to log to /root/.bzr.log file.
If xinetd is started as
sudo /etc/init.d/xinetd restart
then it will try to log to .bzr.log file in the current user's home directory.

If xinetd is started as
sudo -u root /etc/init.d/xinetd restart
then it will try to log to /root/.bzr.log again.