GNU bug report logs - #63554
'shared mount flag ignored on file-system configuration

Previous Next

Package: guix;

Reported by: Wilke Schwiedop <wilke.schwiedop <at> agfa.com>

Date: Wed, 17 May 2023 13:15:03 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Jelle Licht <jlicht <at> fsfe.org>
To: andy <chengong456 <at> qq.com>, 63554 <63554 <at> debbugs.gnu.org>
Subject: bug#63554: 63554
Date: Wed, 04 Sep 2024 11:17:20 +0200
(I decoded html entities ):
"andy" via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
>  Also had this exact same problem. Looking at patch #56880, it tried
>  to add the shared option, but found that the `mount(2)` syscall had
>  to be called twice, once to mount it, then once to make the already
>  existing mount shared, so just adding the bit-flag `MS_SHARED` to
>  that syscall didn't work. The patch seems to not include that bitflag
>  until someone needed it enough to implement calling `mount(2)`
>  twice. Pretty sure the option doesn't do anything because it doesn't
>  change the bit-flag in the `mount-flags->bit-mask` procedure at
>  https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/build/file-systems.scm#n1155
>  So the bug seems to be intentional, and a fix would have to have guix
>  first mount the filesystem normally, then change it to a shared
>  mount.

Is this something that just needs to be picked up by someone, or would
it be more complicated than that?

- Jelle




This bug report was last modified 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.