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

[BUG] fork/exec HOME/.hauler/cosign: text file busy #361

Open
dweomer opened this issue Nov 12, 2024 · 0 comments
Open

[BUG] fork/exec HOME/.hauler/cosign: text file busy #361

dweomer opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dweomer
Copy link
Contributor

dweomer commented Nov 12, 2024

See #211:

zackbradys@Zacks-MBP hauler % hauler version
 __    __       ___       __    __   __       _______ .______
|  |  |  |     /   \     |  |  |  | |  |     |   ____||   _  \
|  |__|  |    /  ^  \    |  |  |  | |  |     |  |__   |  |_)  |
|   __   |   /  /_\  \   |  |  |  | |  |     |   __|  |      /
|  |  |  |  /  _____  \  |  `--'  | |  `----.|  |____ |  |\  \----.
|__|  |__| /__/     \__\  \______/  |_______||_______|| _| `._____|
hauler: Airgap Swiss Army Knife

GitVersion:    1.0.1
GitCommit:     bb2a8bf
GitTreeState:  clean
BuildDate:     2024-02-27T16:30:03Z
GoVersion:     go1.21.7
Compiler:      gc
Platform:      darwin/arm64

Describe the Bug:

  • When serving the registry and fileserver at the same time, hauler errors due to an issue with cosign
  • See the command and error below:
(./hauler store serve fileserver & echo 'hauler fileserver completed') && (./hauler store serve registry & echo 'hauler registry completed')
2024-03-25T02:25:02.731540057Z Error: fork/exec /root/.hauler/cosign: text file busy
2024-03-25T02:25:02.731815470Z Usage:
2024-03-25T02:25:02.731826940Z   hauler store serve registry [flags]

Flags:
2024-03-25T02:25:02.731835598Z   -c, --config string      Path to a config file, will override all other configs
      --directory string   Directory to use for backend.  Defaults to $PWD/registry (default "registry")
2024-03-25T02:25:02.731840278Z 2:25AM ERR fork/exec /root/.hauler/cosign: text file busy
2024-03-25T02:25:02.731842794Z   -h, --help               help for registry
2024-03-25T02:25:02.731852380Z   -p, --port int           Port to listen on. (default 5000)
2024-03-25T02:25:02.731854967Z 
2024-03-25T02:25:02.731857530Z Global Flags:
2024-03-25T02:25:02.731860451Z       --cache string       Location of where to store cache data (defaults to $XDG_CACHE_DIR/hauler)
2024-03-25T02:25:02.731863487Z   -l, --log-level string    (default "info")
2024-03-25T02:25:02.731866638Z   -s, --store string       Location to create store at (default "store")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant