Brian wrote:
> Each time the server is rebooted Asterisk duly
> deletes the manually created /var/run/asterisk directory - quite why it
> does this I just don't know - perhaps it is a bug?
> 

Your assumption is incorrect.  Some Linux distributions will empty /var/run/ on 
boot, just as they do with /tmp/.  I do believe you're right, however, in 
suggesting that there is a bug in Asterisk.  It appears that Asterisk creates 
/var/run/asterisk/ during install and assumes that it will always exist.

Some of the sample init scripts (Debian) create that directory before starting 
Asterisk.  This should be done in all of them (or in Asterisk itself, maybe?).

Please report an issue on http://issues.asterisk.org/

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to