-
Notifications
You must be signed in to change notification settings - Fork 137
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
Daemonization doesn't work if pueued
is not in $PATH
#299
Comments
Thanks for the bug report! The forking logic is definitely somewhat untested. This has been fixed on the main branch of the repository. The new version is now already published in the next patch release. The main way Pueue is currently being deployed and used is by spinning it up as a systemd service, where it runs without the |
Ping @CheneyWong It would be great if you could try to run this, as I'm not able to reproduce this issue myself :) |
Ping @CheneyWong |
1 similar comment
Ping @CheneyWong |
I wonder if this is because of too new kernel or too new OS is required by pueued. |
What I see that it fails before reading the conf or running
|
@alippai Could you run this with the newest pueue version? It should give you a detailed error message about which file/directory is missing.X |
Version 3.3.0 doesn't give me the answer. There are cases (different user, different working directory matters) when it works. I've realized I can run |
Damn. I didn't think of The |
Very good catch. I didn't think about this possibility at all. I also didn't expect this error to be a "No such file or directory" IO error, since I'm only used to these when actually working with file descriptors. Thanks a lot for investigating this! |
pueued
is not in $PATH
I managed to reproduce the issue and fixed it in #473 With that fix, I can no longer reproduce the bug. If you find the time, it would be nice if you could verify the fix :) Thanks again for your detailed bug report! |
Describe the bug
Pueue daemon 2.0.1
os: Debian 9
Steps to reproduce the bug
run
pueued -d
return
Error: No such file or directory (os error 2)
I referenced #293
run
pueued -vvv
return
no error
retry run
pueued -d
return
Error: No such file or directory (os error 2)
The text was updated successfully, but these errors were encountered: