HomeClusterLabs Projects

The anything RA getpid() function can fail to return the pid in theā€¦

Description

The anything RA getpid() function can fail to return the pid in the OCF_RESKEY_pidfile if the root user has commands in .profile which prints numeric characters.
To demonstrate, /root/.profile contains:
echo -e '911 WARNING: YOU ARE SUPERUSER!'
Write only the pid into the pidfile.

Details

Provenance
Peter Varkoly <varkoly@suse.com>Authored on Jan 18 2021, 5:12 AM
Parents
rRf830607e44c7: Merge pull request #1599 from vvidic/mysql-perm
Branches
Unknown
Tags
Unknown

Event Timeline