[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58663: ‘guix shell -C’ regression
From: |
Ludovic Courtès |
Subject: |
bug#58663: ‘guix shell -C’ regression |
Date: |
Fri, 21 Oct 2022 08:50:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
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’.