if no pid file is present (Closes: #954202), thanks to Benjamin Drung for
bug report and patch.
* Blacklist failing tests on HPPA (Closes: #880514).
* Blacklist failing tests on sparc64 (Closes: #888905).
+ * Replace the *.pid by a find command in logrotate file, so it's not failing
+ if no pid file is present (Closes: #954202), thanks to Benjamin Drung for
+ bug report and patch.
-- Thomas Goirand <zigo@debian.org> Sat, 21 Mar 2020 11:35:16 +0100
postrotate
# Tell Open vSwitch daemons to reopen their log files
if [ -d /var/run/openvswitch ]; then
- for pidfile in `cd /var/run/openvswitch && echo *.pid`; do
+ find /var/run/openvswitch -name '*.pid' -printf "%f\n" | while read -r pidfile; do
ovs-appctl -t "${pidfile%%.pid}" vlog/reopen
done
fi