How about just adding HOME=/root (or something slightly more dynamic) to our etckeeper.conf ? it's sourced everywhere and should ensure bzr is always called with the right env ?
That doesn't solve the case where people run "sudo bzr diff" or others, but that can probably wait for the fix to land in bzr..
How about just adding HOME=/root (or something slightly more dynamic) to our etckeeper.conf ? it's sourced everywhere and should ensure bzr is always called with the right env ?
That doesn't solve the case where people run "sudo bzr diff" or others, but that can probably wait for the fix to land in bzr..