On Sat, Sep 27, 2008 at 01:43:47PM +0200, Ondřej Surý wrote: > Sadly this not entirely true. It's the stop action of init.d script > which creates .asterisk_history.
And this is because the stop script runs: asterisk -rx 'stop now' This is not the asterisk daemon (verified with strace that this is the process that generates the file). Some other interesting points: 1. asterisk -U asterisk -c does try to open /root/.asterisk_history . I guess $HOME is not properly set. Tested on Debian's packlage and on recent upstream trunk. The result is permission denied, though. 2. asterisk -rx has no need to open the history file, as it does not write there. So a silly workaround would be to use: 'asterisk -U asterisk -rx' . A better fix is not to initialize the terminal on 'asterisk -rx' . -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]