Bug#353227: asterisk: Doesn't lock voicemail.conf for update
Faidon Liambotis
paravoid at debian.org
Fri Sep 21 06:11:27 UTC 2007
forwarded 353227 http://bugs.digium.com/view.php?id=10781
thanks
Hi,
On behalf of the team, sorry for the very very very late response :-)
This problem appears to be more generic since there is a
config_text_file_save() function nowdays and I have confirmed that it
doesn't use flock().
This would be a bigger problem when using e.g. asterisk-gui that tried
to write to the configuration files using the above function.
Adding the locks isn't that trivial since this means that it may block
indefinitely or fail immediately, none of which is a good thing for this
type of application.
I've forwarded the bug upstream so we can get their opinion and/or code.
Thanks,
Faidon
More information about the Pkg-voip-maintainers
mailing list