Description of problem: use of "function" is not portable to other shells Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: https://review.gluster.org/17443 (extras/hookscripts: non-portable shell syntax (debian package maintainer)) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)
REVIEW: https://review.gluster.org/17443 (extras/hookscripts: non-portable shell syntax (debian package maintainer)) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)
REVIEW: https://review.gluster.org/17443 (extras/hookscripts: non-portable shell syntax) posted (#3) for review on master by Kaleb KEITHLEY (kkeithle)
COMMIT: https://review.gluster.org/17443 committed in master by Niels de Vos (ndevos) ------ commit be28cbc5f8d3a78f6968b0307d001a5c0f0d8b31 Author: Kaleb S. KEITHLEY <kkeithle> Date: Thu Jun 1 07:05:42 2017 -0400 extras/hookscripts: non-portable shell syntax use of "function" is not portable to other shells Reported-by: Patrick Matthäi <pmatthaei> Change-Id: I13a0482b387cc3b7a7a57df424e673850603da37 BUG: 1457812 Signed-off-by: Kaleb S. KEITHLEY <kkeithle> Reviewed-on: https://review.gluster.org/17443 NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> Smoke: Gluster Build System <jenkins.org>
REVIEW: https://review.gluster.org/17681 (extras/hooks: non-portable shell syntax) posted (#1) for review on master by Nigel Babu (nigelb)
REVIEW: https://review.gluster.org/17681 (extras/hooks: non-portable shell syntax) posted (#2) for review on master by Nigel Babu (nigelb)
REVIEW: https://review.gluster.org/17681 (extras/hooks: non-portable shell syntax) posted (#3) for review on master by Nigel Babu (nigelb)
REVIEW: https://review.gluster.org/17681 (extras/hooks: non-portable shell syntax) posted (#4) for review on master by Nigel Babu (nigelb)
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report. glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html [2] https://www.gluster.org/pipermail/gluster-users/
The associated patch is not merged in.
Closing this bug as https://review.gluster.org/#/c/glusterfs/+/18485/ addresses the issue.