Post B7YZmkG8d1DWe44IPA by mirabilos@toot.mirbsd.org
(DIR) More posts by mirabilos@toot.mirbsd.org
(DIR) Post #B7YZmjRRfUfS6qLoOG by phf@mastodon.de
0 likes, 0 repeats
One of the Debian boxes was filling up. Come to find it's those "journals" and stuff. You know, the systemd crap. And of course everything in systemd is SO FUCKING COMPLICATED it's impossible to start from the beginning with a man page.I got lucky with this post: https://pieterbakker.com/limiting-systemd-journal-size/A bit too convinced of the awesomeness of systemd that person BUT at least I got to the right "knobs" quickly.Of course just twiddling the time-based stuff didn't work at all to reduce how much space the crap takes up, but once I set the actual limit, okay, it freed up a bunch of space.At least that. 🤷
(DIR) Post #B7YZmjgKm8Zqr1Jhb6 by phf@mastodon.de
0 likes, 0 repeats
I guess the tl;dr version of this, without all the ads and wise words and shit, is as follows:journalctl --disk-usage to see what's upvi /etc/systemd/journald.conf set SystemMaxUse to whatever, 512M maybesystemctl restart systemd-journald apply them thingsjournalctl --disk-usage see what's up nowI just needed it again on another Debian box. Wow those systemd folks are brainiacs. But I guess I could also complain about Debian who decided to leave this unconfigured.🤷#systemd #journald #debian #LinuxIsNotUNIX
(DIR) Post #B7YZmkG8d1DWe44IPA by mirabilos@toot.mirbsd.org
0 likes, 0 repeats
@phf or install sysvinit…
(DIR) Post #B7YfqqvsMJkcE0vsoK by phf@mastodon.de
0 likes, 0 repeats
@mirabilos Yep, been playing with that in QEMU to see if it still works, considering it.
(DIR) Post #B7Yfqr9LYEWgtnEdo8 by mirabilos@toot.mirbsd.org
0 likes, 0 repeats
@phf switching after installation is not entirely easy, and you also need orphan-sysvinit-scripts.It also wants to try to get you to install elogind but an otherwise empty package that just Provides: logind works just as well without introducing broken behaviour changes [2] [3]…
(DIR) Post #B7Yg12roqE1s8RtZEO by mirabilos@toot.mirbsd.org
0 likes, 0 repeats
@phf after having switched, one of the prevent-* packages from https://debr.mirbsd.org/repos/wtf/dists/trixie/wtf/Pkgs/mirabilos-support/ will help you to avoid the tendency of apt to try and bring it back