Skip to content

Commit 7ee9377

Browse files
committed
1408172 - ipfailover - `Permission denied for check and notify scripts
Reverted the last changes. chmod +x is not correct. The fix is in adding volumes:configMap:defaultMode: 493 in the RC bug 1408172 https://bugzilla.redhat.com/show_bug.cgi?id=1408172
1 parent bb51aa5 commit 7ee9377

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

images/ipfailover/keepalived/lib/config-generators.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -229,14 +229,6 @@ function generate_failover_config() {
229229
local ipaddr ; ipaddr=$(get_device_ip_address "${interface}")
230230
local port="${HA_MONITOR_PORT//[^0-9]/}"
231231

232-
# scripts may not have execute set
233-
if [[ -n "${HA_CHECK_SCRIPT}" ]]; then
234-
chmod +x "${HA_CHECK_SCRIPT}"
235-
fi
236-
if [[ -n "${HA_NOTIFY_SCRIPT}" ]]; then
237-
chmod +x "${HA_NOTIFY_SCRIPT}"
238-
fi
239-
240232
echo "! Configuration File for keepalived
241233
242234
$(generate_global_config "${HA_CONFIG_NAME}")

0 commit comments

Comments
 (0)