GNU bug report logs - #69753
Git checkout fail after daemon checks permissions

Previous Next

Package: guix;

Reported by: Jean-Pierre De Jesus Diaz <jean <at> foundation.xyz>

Date: Tue, 12 Mar 2024 16:28:02 UTC

Severity: normal

To reply to this bug, email your comments to 69753 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#69753; Package guix. (Tue, 12 Mar 2024 16:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean-Pierre De Jesus Diaz <jean <at> foundation.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 12 Mar 2024 16:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean-Pierre De Jesus Diaz <jean <at> foundation.xyz>
To: bug-guix <at> gnu.org
Subject: Git checkout fail after daemon checks permissions
Date: Tue, 12 Mar 2024 13:07:54 +0000
Hello,

I've done a guix system reconfigure recently and after that I was
unable to build
packages that use Git to fetch the source, failing with this error:

```
Initialized empty Git repository in
/gnu/store/bm54hnvq0f8qbm2a4yvljrgl4nf2yain-rocblas-5.6.0-checkout/.git/
From https://github.com/ROCm/rocBLAS
 * tag               rocm-5.6.0 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 4b0751e Merge pull request #1325 from
yoichiyoshida/fp16altrnz-5.6-hotfix2
suspicious ownership or permission on
`/gnu/store/bm54hnvq0f8qbm2a4yvljrgl4nf2yain-rocblas-5.6.0-checkout';
rejecting this build output
build of /gnu/store/xbvrh3nav0gcgvdxbv7k9rsqgw4d14c3-rocblas-5.6.0-checkout.drv
failed
View build log at
'/var/log/guix/drvs/xb/vrh3nav0gcgvdxbv7k9rsqgw4d14c3-rocblas-5.6.0-checkout.drv.gz'.
cannot build derivation
`/gnu/store/jr9vjappfafyjvwrx85g4jm28cim1b4k-rocblas-5.6.0.drv': 1
dependencies couldn't be built
guix build: error: build of
`/gnu/store/jr9vjappfafyjvwrx85g4jm28cim1b4k-rocblas-5.6.0.drv' failed
```

The output of guix describe for the system:

```
$ sudo -i guix describe
Password:
Generation 7    Mar 12 2024 12:13:17    (current)
  guix a52701a
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a52701a4d3c90327f6b88267173a5a98ef3db8e6
```

The permissions of the file in the store are:

```
$ ls -ld /gnu/store/bm54hnvq0f8qbm2a4yvljrgl4nf2yain-rocblas-5.6.0-checkout
drwxr-xr-x 11 root root 4096 Mar 12 14:03
/gnu/store/bm54hnvq0f8qbm2a4yvljrgl4nf2yain-rocblas-5.6.0-checkout/
```

I've noticed it also leaks the current date and time in the store.

Thanks,

Jean-Pierre De Jesus DIAZ




Information forwarded to bug-guix <at> gnu.org:
bug#69753; Package guix. (Wed, 20 Mar 2024 17:55:01 GMT) Full text and rfc822 format available.

Message #8 received at 69753 <at> debbugs.gnu.org (full text, mbox):

From: Richard Sent <richard <at> freakingpenguin.com>
To: Jean-Pierre De Jesus Diaz <jean <at> foundation.xyz>
Cc: 69753 <at> debbugs.gnu.org
Subject: Re: bug#69753: Git checkout fail after daemon checks permissions
Date: Wed, 20 Mar 2024 13:53:42 -0400
I've encountered this issue myself, so it's not an isolated incident. I
observed that it only occured when building packages from a custom
channel (or perhaps with -L, I don't recall for sure.)

The issue seemed to disappear after a while.

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.




This bug report was last modified 44 days ago.

Previous Next


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