[gluster-packaging] Fwd: Bug#873878: glusterfs-client: mount.glusterfs needs bash as /bin/sh

Michael Lundkvist brels.debian at solske.net
Fri Sep 1 13:54:05 UTC 2017

On 09/01/2017 01:25 PM, Patrick Matthäi wrote:
> Am 01.09.2017 um 11:40 schrieb Niels de Vos:
>> On Fri, Sep 01, 2017 at 09:36:16AM +0200, Patrick Matthäi wrote:
>>> Hi,
>>> how should it be fixed for glusterfs now? Better shell code without
>>> bashishm or do you want /bin/bash as shebang?
>> Do you have a preference? I do not know how much work is it is to
>> rewrite the mount.glusterfs script to remove all the Bashisms. At least
>> in the Debian builds you may want to patch it to /bin/bash for the time
>> being.
> I would prefer a patch, so that it works without bash. Luckily the bug
> reporter just wrote a patch :)
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873878#10

To be very clear, I've only tested this by manually modifying 
/sbin/mount.glusterfs in the same way. I've not even tried building it.

Also, this code seems related to the new sub-directory mounts that came 
in 3.12 and I'm not using that.

But at least it takes the package from unusable to fully functional for 
me. :)


More information about the packaging mailing list