A year ago learning systemd would be a "well, it's like any system, it's got upsides and downsides" but now, now that I'm in "move to NetBSD or some other non-AI-generated operating system ASAP" mode, having to learn systemd is grating. Did you know systemctl does not respect the conventional PAGER environment variable? It wants you to use the very special SYSTEMD_LESS variable
0 Boosts
0 Likes
@mcc I got the ick when I saw they had to put a README file in /var/log because there's a thing called journalctl now.
@mcc i wish it would SYSTEMD_LESS
@mcc I wonder why it doesn't fall back to the old var, analogous to how VISUAL will be checked if EDITOR is not set for many *nix tools.
@mcc for some reason I knew this! I did not seek out this information. I think there's some reminder that kept showing up as I was troubleshooting systemd stuff.
@mcc@mastodon.social It's a little more complicated, there's SYSTEMD_PAGER to set the pager, and if less is used (which is the default, or part of it), SYSTEMD_LESS lets you set options for less. Whether the difference matters depends on what you're trying to do.