* Re: 01/01: gnu: glusterfs: Replace hardcoded FHS references.
[not found] ` <20171201154135.C7FB920C0C@vcs0.savannah.gnu.org>
@ 2017-12-01 16:13 ` Ludovic Courtès
0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2017-12-01 16:13 UTC (permalink / raw)
To: guix-devel, Ricardo Wurmus
rekado@elephly.net (Ricardo Wurmus) skribis:
> commit b9fb70ca65f2f76919a093cb73150082466f4203
> Author: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri Dec 1 16:39:08 2017 +0100
>
> gnu: glusterfs: Replace hardcoded FHS references.
>
> * gnu/packages/patches/glusterfs-use-PATH-instead-of-hardcodes.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
> * gnu/packages/file-systems.scm (glusterfs)[source]: Use it.
[...]
> +--- a/contrib/fuse-lib/mount-common.c
> ++++ b/contrib/fuse-lib/mount-common.c
> +@@ -255,16 +255,16 @@ fuse_mnt_umount (const char *progname, const char *abs_mnt,
> + exit (1);
> + }
> + #ifdef GF_LINUX_HOST_OS
> +- execl ("/bin/umount", "/bin/umount", "-i", rel_mnt,
> ++ execl ("umount", "umount", "-i", rel_mnt,
Should it be ‘execlp’? Otherwise it’s going to try to execute “umount”
from $PWD, no?
Ludo’.
^ permalink raw reply [flat|nested] only message in thread