Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User filesystem error #75

Open
HaoZeke opened this issue Sep 3, 2020 · 2 comments
Open

User filesystem error #75

HaoZeke opened this issue Sep 3, 2020 · 2 comments

Comments

@HaoZeke
Copy link

HaoZeke commented Sep 3, 2020

Hi!
I'm setting this up on an HPC, and though initializing at /tmp/hermes-store worked, in my home directory I'm getting the following error:

error: unable to acquire lock on file '/users/home/rog32/.hermes-store/var/hermes/lock/gc.lock' - Bad file descriptor
  in flock/acquire
  in acquire-gc-lock [src/pkgstore.janet] on line 200, column 3
  in gc [src/pkgstore.janet] (tailcall) on line 231, column 18
  in <anonymous> [src/hermes-pkgstore-main.janet] on line 289, column 16
  in main [src/hermes-pkgstore-main.janet] on line 285, column 3

Since it is on an HPC, the underlying filesystem is an NFS one, and I do not have root access.

@andrewchambers
Copy link
Owner

Seems like a similar issue to ansible/awx#3926. Will investigate.

@HaoZeke
Copy link
Author

HaoZeke commented Mar 15, 2021

This is still an issue (after ansible/awx#3928); with the latest commit I get:

$ hermes build --output ./seed-env Git/Github/hpkgs/seed.hpkg
error: unable to acquire lock on file '/users/home/rog32/hermes-store/var/hermes/lock/build-e8f91f129240289f9874c14156bedaf324289c75.lock' - Bad file descriptor
  in flock/acquire
  in acquire-build-lock [src/pkgstore.janet] on line 204, column 3
  in build-pkg [src/pkgstore.janet] on line 448, column 35
  in build-pkg [src/pkgstore.janet] on line 445, column 36
  in <anonymous> [src/pkgstore.janet] on line 629, column 13
  in <anonymous> [src/pkgstore.janet] on line 433, column 3
  in <anonymous> [src/pkgstore.janet] on line 432, column 3
  in build [src/pkgstore.janet] on line 431, column 3
  in build [src/hermes-pkgstore-main.janet] on line 171, column 3
  in <anonymous> [src/hermes-pkgstore-main.janet] on line 288, column 19
  in main [src/hermes-pkgstore-main.janet] on line 285, column 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants