HomeClusterLabs Projects

High: IPaddr2/findif.sh: Robust parameter checking for 'nic'

Description

High: IPaddr2/findif.sh: Robust parameter checking for 'nic'

A false failure detection may happen if the following conditions are met:

  • the kernel is 2.6.18 or prior
  • two or more processes can read /proc/net/dev at the same time
  • reading the proc file using 'read' of bash (or lseek()) line by line

See this issue for the details:
https://github.com/ClusterLabs/resource-agents/pull/320

Details

Provenance
kskmoriAuthored on Sep 30 2013, 10:05 PM
Parents
rRded38721ad55: Merge pull request #315 from Andor/master
Branches
Unknown
Tags
Unknown

Event Timeline