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

On CentOS, nohang package should specify dependency on python3 #129

Open
joeytwiddle opened this issue Feb 28, 2023 · 1 comment
Open

On CentOS, nohang package should specify dependency on python3 #129

joeytwiddle opened this issue Feb 28, 2023 · 1 comment

Comments

@joeytwiddle
Copy link

joeytwiddle commented Feb 28, 2023

Sorry if the CentOS package maintainer is not here, we may need to feed forward to them.

Steps to reproduce: On a system with no python3 installed:

$ yum install nohang
$ systemctl enable --now nohang

It will install, but it won't start. I get the status:

$ systemctl status nohang
...
Feb 28 18:27:28 ____ systemd[1]: Unit nohang.service entered failed state.
Feb 28 18:27:28 ____ systemd[1]: nohang.service failed.
Feb 28 18:27:28 ____ systemd[1]: nohang.service has no holdoff time, scheduling restart.
Feb 28 18:27:28 ____ systemd[1]: Stopped Sophisticated low memory handler.
Feb 28 18:27:28 ____ systemd[1]: start request repeated too quickly for nohang.service
Feb 28 18:27:28 ____ systemd[1]: Failed to start Sophisticated low memory handler.
Feb 28 18:27:28 ____ systemd[1]: Unit nohang.service entered failed state.
Feb 28 18:27:28 ____ systemd[1]: nohang.service failed.

Which is unfortunate, because it hides the actual problem! Which can be found here:

$ journalctl -u nohang
...
Feb 28 18:26:07 ____ systemd[1]: Started Sophisticated low memory handler.
Feb 28 18:26:07 ____ nohang[17892]: /usr/bin/env: python3: No such file or directory
Feb 28 18:26:07 ____ systemd[1]: nohang.service: main process exited, code=exited, status=127/n/a
Feb 28 18:26:07 ____ systemd[1]: Unit nohang.service entered failed state.
...

The solution is of course, simply:

$ yum install python3
@joeytwiddle joeytwiddle changed the title On CentOS, nohang package should specify depdency on python3 On CentOS, nohang package should specify dependency on python3 Mar 3, 2023
@hakavlad
Copy link
Owner

hakavlad commented Mar 3, 2023

https://github.com/hakavlad/nohang#how-to-install

To install on [Fedora](https://src.fedoraproject.org/rpms/nohang/):

Orphaned for 6+ weeks, not available.

https://src.fedoraproject.org/rpms/nohang/

Nobody can fix it now. The package is orphaned.

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