Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1487830

Summary: scripts: mount.glusterfs contains non-portable bashisms
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: scriptsAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, ndevos
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.13.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1488119 (view as bug list) Environment:
Last Closed: 2017-12-08 17:39:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1488119    

Description Kaleb KEITHLEY 2017-09-02 10:42:32 UTC
Description of problem:

Default debian shell is dash. I.e. /bin/sh -> dash.

Non-posix idioms used don't work in dash or real /bin/sh

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2017-09-02 10:56:27 UTC
REVIEW: https://review.gluster.org/18184 (scripts: mount.glusterfs contains non-portable bashisms) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 2 Worker Ant 2017-09-04 10:22:21 UTC
REVIEW: https://review.gluster.org/18184 (scripts: mount.glusterfs contains non-portable bashisms) posted (#2) for review on master by Niels de Vos (ndevos)

Comment 3 Worker Ant 2017-09-05 09:17:25 UTC
COMMIT: https://review.gluster.org/18184 committed in master by Niels de Vos (ndevos) 
------
commit c0406501f0b4295a9917d31574baa2e462a18799
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Sat Sep 2 06:50:50 2017 -0400

    scripts: mount.glusterfs contains non-portable bashisms
    
    Debian's default shell is dash, i.e. /bin/sh -> dash, which doesn't
    support bash extensions
    
    Reported-by: "Michael Lundkvist" <brels.debian>
    Reported-by: pmatthaei
    Debian BZ: 873878
    
    Change-Id: I33003183b9bc6459cae28c565125e6b2bd1eaa47
    BUG: 1487830
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: https://review.gluster.org/18184
    Reviewed-by: Niels de Vos <ndevos>
    Tested-by: Niels de Vos <ndevos>
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 4 Shyamsundar 2017-12-08 17:39:41 UTC
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.13.0, please open a new bug report.

glusterfs-3.13.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-December/000087.html
[2] https://www.gluster.org/pipermail/gluster-users/