Red Hat Bugzilla – Bug 487781
asterisk attempts to use a non-existent /var/lib/asterisk/keys directory
Last modified: 2009-09-25 16:05:06 EDT
Description of problem:
I asterisk logs one can find:
WARNING res_crypto.c: Unable to open key directory '/var/lib/asterisk/keys'
Such directory indeed does not exist. There is /usr/share/asterisk/keys directory and that one is mentioned in a number of places in /etc/asterisk/ configuration files.
At this moment a symlink from /usr/share/asterisk/keys to /var/lib/asterisk/keys prevents that complaint
Version-Release number of selected component (if applicable):
on every restart
asterisk-184.108.40.206-1.fc10 has been submitted as an update for Fedora 10.
asterisk-220.127.116.11-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update asterisk'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-9374
Grepping through new binaries one indeed finds '/usr/share/asterisk/keys'.
OTOH in /etc/asterisk/asterisk.conf there is
astkeydir => /var/lib/asterisk
(and other instances of the same directory - hard to tell if expected or not).
Also various files in /usr/share/asterisk/static-http/docs/ refer to locations /var/lib, like /var/lib/asterisk/sounds/priv-callerintros or /var/lib/asterisk/phoneprov or /var/lib/asterisk/agi-bin and those are clearly
not something expected in a default configuration.
asterisk-18.104.22.168-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.