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

nohang on Debian (package from repo) starts with nohang.conf and nogang-desktop.conf at the same time #126

Open
hakavlad opened this issue Dec 30, 2022 · 4 comments

Comments

@hakavlad
Copy link
Owner

No description provided.

@alexmyczko
Copy link

and the fix for it would be?

@hakavlad
Copy link
Owner Author

hakavlad commented Jan 18, 2023

The fix is: The services (nohang.service and nohang-desktop.service) should not be enabled at the same time.

nohang 0.2.0-1 on Debian 11 (probably the problem is also in other versions)

After installing the package:

$ sudo systemctl is-enabled nohang.service
enabled

$ sudo systemctl is-enabled nohang-desktop.service
enabled

and the result is one of two (randomly):

$ sudo systemctl is-active nohang.service
active

$ sudo systemctl is-active nohang-desktop.service
inactive

or

$ sudo systemctl is-active nohang.service 
inactive

$ sudo systemctl is-active nohang-desktop.service
active

-- since the start of one service leads to the stop of another (due to Conflicts=nohang.service in nohang-desktop.service and Conflicts=nohang-desktop.service in nohang.service), only one of the two services remains active each time after the system is rebooted.

Suggestion: keep enabled only nohang.service by default.
@yangfl

@alexmyczko
Copy link

Sorry I missed this issue completely, but then nohang 0.2 is also like from 2020, is there any plans for a new release? Unfortunately it's missing Debian 12...

@hakavlad
Copy link
Owner Author

hakavlad commented Apr 1, 2023

I would like to close some issues and set a tag, but there is no time yet (more precisely, this task does not have a high priority).

It's time to update nohang-desktop.conf: for example, firefox processes now have different names (old is Web Content, new is Isolated Web Co)
(7. Customize victim selection: adjusting badness of processes config section should be rewritten).

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