unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: 58663-done@debbugs.gnu.org
Cc: pierre-Antoine.Bouttier@univ-grenoble-alpes.fr
Subject: bug#58663: ‘guix shell -C’ regression
Date: Fri, 21 Oct 2022 08:50:15 +0200	[thread overview]
Message-ID: <87y1t9acwo.fsf@gnu.org> (raw)
In-Reply-To: <877d0ucvgj.fsf@inria.fr> ("Ludovic Courtès"'s message of "Thu, 20 Oct 2022 18:26:36 +0200")

Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

> ~$ strace -o ,,s.bad -f guix shell -C coreutils
> guix shell: error: mount: mount "/gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8" on "/tmp/guix-directory.E6yvR8//gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8": Operation not permitted
> ~$ grep mount.*/gnu/store ,,s.bad
> 21363 mount("/gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8", "/tmp/guix-directory.E6yvR8//gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8", 0x11cf6e0, MS_RDONLY|MS_NOATIME|MS_BIND, NULL) = 0
> 21363 mount("/gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8", "/tmp/guix-directory.E6yvR8//gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8", 0x11ad160, MS_RDONLY|MS_REMOUNT|MS_NOATIME|MS_BIND, NULL) = -1 EPERM (Operation not permitted)
> ~$ mount |grep /gnu/store
> REDACTED on /gnu/store type nfs (rw,noatime,nodiratime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=REDACTED,mountvers=3,mountport=47613,mountproto=udp,local_lock=none,addr=REDACTED,_netdev)

[...]

> This looks like a regression caused by the fix to
> <https://issues.guix.gnu.org/46292> and, viewed from another angle, by
> the fact that “nodiratime” is not preserved.

It was lack of MS_NODIRATIME preservation that was causing problems.

Fixed in 6352e3a17b5978cf9af9e1668816d8f47ec85208!

Ludo’.




      reply	other threads:[~2022-10-21  6:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 16:26 bug#58663: ‘guix shell -C’ regression Ludovic Courtès
2022-10-21  6:50 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1t9acwo.fsf@gnu.org \
    --to=ludovic.courtes@inria.fr \
    --cc=58663-done@debbugs.gnu.org \
    --cc=pierre-Antoine.Bouttier@univ-grenoble-alpes.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).