[OCF] mysql fails to start if we have own bash script in /etc/profile.d
Bug #1630561 reported by
Michael Kraynov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Oleksiy Molchanov | ||
Newton |
Fix Committed
|
Medium
|
Oleksiy Molchanov |
Bug Description
During mysql start there is a check which is using "sh" shell.
The check is done on line 672 of "/usr/lib/
And that will, according to "/etc/profiles", start everything in "/etc/profile.d/"
if [ -d /etc/profile.d ]; then
for i in /etc/profile.
if [ -r $i ]; then
. $i
fi
done
unset i
fi
The problem is that if there is anything inside that directory which works only with "bash" execution, it fails, and MySQL does not start.
Expected results:
MySQL OCF script should ignore other scripts or work with bash execution.
Description of the environment:
Mirantis OpenStack 9.0
Changed in fuel: | |
status: | New → Confirmed |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
tags: | added: area-library pacemaker |
Changed in fuel: | |
milestone: | 9.1 → 9.2 |
tags: | added: on-verification |
To post a comment you must log in.
sla2 for 9.0-updates