HomeClusterLabs Projects

Fix: libcommon: crm_procfs_pid_of() would always return last /proc entry checked

Description

Fix: libcommon: crm_procfs_pid_of() would always return last /proc entry checked

This fixes a bug introduced in 1.1.14 via a066eaa and 4797c81 when getting the
PID of a process name. The bug only triggered if the process wasn't running, so
the main effect was to mistakenly set have-watchdog to true even though sbd was
not running.

Details

Provenance
kgaillotAuthored on May 16 2016, 6:32 PM
Parents
rP468a1e03ae55: Merge pull request #1002 from kgaillot/1.1
Branches
Unknown
Tags
Unknown

Event Timeline