When I try to start /etc/init.d/monotone inside /root/, it tries to access
/root/_MTN, which it doesn't have permissions for since it is started with
UID=monotone. Since mtn "thinks" the workspace is critical, it will immediately
exit. (Upstream is thinking about changing that behaviour in future versions.)
The attached patch works around the issue by cd'ing to monotone's $HOME and
calling mtn from there.
Reproducible: Always
Steps to Reproduce:
1. cd to a directory inaccesible to the monotone user, eg. /root/
2. Issue /etc/init.d/monotone start
Actual Results:
Mtn starts and immediately exits again, notable by the entry in the logfile
Expected Results:
Mtn stays "alive".