nohang
systemd
nohang | systemd | |
---|---|---|
29 | 518 | |
997 | 12,516 | |
- | 1.6% | |
4.3 | 10.0 | |
3 months ago | 3 days ago | |
Python | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nohang
-
There is an oom kill count in Linux
For desktop use, nohang does what the name says.
https://github.com/hakavlad/nohang
- Rare question
- Zswap vs zram in 2023, what's the actual practical difference?
-
Why is systemd-oomd still a thing
Personally I thought https://github.com/hakavlad/nohang worked pretty well, and it'll also notify the user if it's about to start killing things, but I haven't bothered to install it in fedora. I did tweak the systemd-oomd config to be less aggressive though.
-
Arch linux randomly freezes, especially when playing a youtube video or performing other video-related workload
SOLUTION: After struggling with this nightmarish unpredictable kernel panic for two weeks, I confirmed nohang is capable of stopping this problem for real.
- Hakavlad / nohang – A sophisticated low memory handler for Linux
-
Релиз ядра Linux 6.1
посмотри https://github.com/hakavlad/nohang/issues/122
-
How do i install packages in ZORIN OS
I'm trying to install this app called " nohang" for memory problems. https://github.com/hakavlad/nohang i wasn't sure which type zorin is based on.
-
Am I doing RAM wrong?
Thanks. Looking into this as well. Further digging in this sub over the past couple days have brought up earlyoom as well as https://github.com/hakavlad/nohang as interesting things to pursue.
-
Distro with best ram management on 8gb of memory?
Sounds like the complaints indicated on nohang's repo. I also have low memory. nohang and zram make mine work better than macs/wins with higher memory.
systemd
-
PoC to demonstrate root permission hijacking by exploiting "systemd-run"
No, the OP was not sent any harassment, the OP _did_ the harassment as it can be seen in the tweets. I mean, they are right there, just click on the links you shared. One of the OP's followers even openly called for the assassination of the project maintainer, and you have the galls to defend him? This is truly deranged stuff.
And again, there is no "vulnerability", there is simply a person that doesn't know how Linux works and has learned something new. Which again it's fine, nobody knows everything and we all learn new things everyday, it's just that normal and sensible people don't use that to make grand claims on social media and start harassment campaigns culminating in death threats.
Professional security researchers responsibly report real issues using the appropriate channels, such as defined at: https://github.com/systemd/systemd/security/policy this is not the work of a researcher, this is a grifter looking for self-promotion on social media.
-
Run0 – systemd based alternative to sudo announced
> 3. even `adduser` will not allow it by default
5. useradd does allow it (as noted in a comment). 6. Local users are not the only source, there things like LDAP and AD.
7. POSIX allows it:
* https://github.com/systemd/systemd/issues/6237#issuecomment-...
-
Systemd Rolling Out "run0" As sudo Alternative
> I for one love to type out 13 extra characters
FWIW, systemd is normally pretty good at providing autocomplete suggestions, so even if you don't want to set up an alias you'll probably just have to type `--b ` to set it.
> I wonder what random ASCII escape sequences we can send.
According to the man page source[0]:
> The color specified should be an ANSI X3.64 SGR background color, i.e. strings such as `40`, `41`, …, `47`, `48;2;…`, `48;5;…`
and a link to the relevant Wikipedia page[1]. Given systemd's generally decent track record wrt defects and security issues, and the simplicity of valid colour values, I expect there's a fairly robust parameter verifier in there.
In fact, given the focus on starting the elevated command in a highly controlled environment, I'd expect the colour codes to be output to the originating terminal, not forwarded to the secure pty. That way, the only thing malformed escapes can affect is your own process, which you already have full control over anyway.
(Happy to be shown if that's a mistaken expectation though.)
[0] https://github.com/systemd/systemd/blob/main/man/run0.xml
[1] https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_G...
- Crash-only software: More than meets the eye
-
Systemd Wants to Expand to Include a Sudo Replacement
bash & zsh are supported by upstream: https://github.com/systemd/systemd/tree/main/shell-completio...
-
"Run0" as a Sudo Replacement
the right person to replace sudo, not: https://github.com/systemd/systemd/issues/6237
PS: https://pwnies.com/systemd-bugs/
-
Linux fu: getting started with systemd
https://github.com/systemd/systemd/issues/32028#issuecomment...
There are some very compelling arguments made there if you care to read them
-
Ubuntu 24.04 (and Debian) removed libsystemd from SSH server dependencies
Maybe it was because you weren't pointing out anything new?
There was a pull request to stop linking libzma to systemd before the attack even took place
https://github.com/systemd/systemd/pull/31550
This was likely one of many things that pushed the attackers to work faster, and forced them into making mistakes.
-
Systemd minimizing required dependencies for libsystemd
The PR for changing compression libraries to use dlopen() was opened several weeks before the xz-utils backdoor was revealed.
https://github.com/systemd/systemd/pull/31550
- Going in circles without a real-time clock
What are some alternatives?
earlyoom - earlyoom - Early OOM Daemon for Linux
openrc - The OpenRC init system
oomd - A userspace out-of-memory killer
tini - A tiny but valid `init` for containers
Ananicy - Ananicy - is Another auto nice daemon, with community rules support (Use pull request please)
inotify-tools - inotify-tools is a C library and a set of command-line programs providing a simple interface to inotify.
Ananicy Cpp - A full, event-based rewrite of Ananicy made in C++ for better performance.
s6 - The s6 supervision suite.
prelockd - Lock executables and shared libraries in memory to improve system responsiveness under low-memory conditions
le9-patch - [PATCH] mm: Protect the working set under memory pressure to prevent thrashing, avoid high latency and prevent livelock in near-OOM conditions
supervisor - Supervisor process control system for Unix (supervisord)