unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 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

only message in thread, other threads:[~2017-12-01 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20171201154132.4547.22093@vcs0.savannah.gnu.org>
     [not found] ` <20171201154135.C7FB920C0C@vcs0.savannah.gnu.org>
2017-12-01 16:13   ` 01/01: gnu: glusterfs: Replace hardcoded FHS references Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).