Capture the exception in dnsmasq_pid_for method. If the pidfile cannot be read
for some reason, it should be treated as if it does not exist. This prevents
issues where the filesystem write delay leaves the file created but empty.
Fixes bug 865399.
(cherry picked from commit a25f106c2f824d7d03bf1161da72f66fe4be5a9c)
Reviewed: https:/ /review. openstack. org/1082 github. com/openstack/ nova/commit/ ad4eef0a0b29665 2f8ce08d86a10de a8a40b005b
Committed: http://
Submitter: Jenkins
Branch: stable/diablo
status fixcommitted
done
commit ad4eef0a0b29665 2f8ce08d86a10de a8a40b005b
Author: Yun Shen <email address hidden>
Date: Thu Sep 29 12:09:37 2011 +0100
Handle pidfile exception for dnsmasq
Capture the exception in dnsmasq_pid_for method. If the pidfile cannot be read
for some reason, it should be treated as if it does not exist. This prevents
issues where the filesystem write delay leaves the file created but empty.
Fixes bug 865399.
(cherry picked from commit a25f106c2f824d7 d03bf1161da72f6 6fe4be5a9c)
Change-Id: Ifd79c714306070 2bfe359f0e0a358 67c685e27df