-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels