u/leothrix
In this archive from Apr 2014 to Nov 2023
- 12
- posts
- 132
- comments
- 2
- media
- 1k
- score
Top posts
Building a custom router with Arch Linux ARM on a $50 aarch64 single-board computer - with firewalling, traffic shaping, and netflow monitoring
Not downloaded yet
If you ever use pacman to upgrade packages, you may find this outdated library checker hook useful
github.com/tylerjl/overdueNot downloaded yet
A walkthrough for using systemd, device units, and HandBrake for automated media archiving
blog.tjll.net/systemd-for-device-activation-and-...How should we address poor PKGBUILDs?
Not going into specific cases here, as I want to focus on the problem and not people or packages. I've seen a few cases (and tried to correct a few) where PKGBUILDs on the AUR are pretty bad. Wrong dependencies, mostly-correct ExecStarts on systemd units, or other problems that, when brought to the...
I've coded against the systemd dbus APIs, written probably hundreds of unit files, and worked heavily in the guts of systemd-journald, so I think I can offer some perspective from the technical side.
systemd, like any technical solution, has good and bad parts. systemd in particular is so polarizing because, aside from the kernel itself, it's probably the most pervasive part of the system, and thus effects so many people. Lots of people cite its additional complexity, but it's a double-edged sword: more complexity means more things can break, but you can also do much more with it.
The following bullets are mostly compared against SysV init since it's the only related init system that reached the level of adoption that systemd has (yes, I know s6/openrc/daemontools are useful, too). Some of the high-level benefits of systemd I'd note are:
There's tradeoffs, though.
grepthrough because you don't havejournalctlaround. Most of the time this really isn't a problem, mind you, but eschewing plaintext logs means you lose the ability to leverage a huge corpus of tools people have written with the assumption they can read plaintext from a logfile.I'd note that I was initially pretty anti-systemd, but I've accepted it as the best solution we've got and tried to help steer it towards the type of tool I'd like to use with upstream bug reports/issues. As backwards as the public development of systemd can be at times, open source development can be pretty harsh and I do hope that they succeed in making both systemd and the environment they develop it in better.
This one is actually probably much better for Arch than most other distros out there. The absurdly low barrier to entry with PKGBUILDs and the AUR means that new projects can be packaged and shared extremely easily. I've actually installed stuff that I thought would be too esoteric by hand and then later found them on the AUR; it's amazing how broad and active the repository is.
I mention these primarily because I'd love to see them come to Arch, not necessarily as criticisms:
In terms of available packages, the native repositores + AUR have been better for me breadth-wise than any other distribution, and writing a 50-line shell script to amend the packages I need has been great.
IMO, in order of noticeability:
/bin,/usr,/opt, etc.This is the right answer. Custom conf overrides are placed into
/etc/systemd/system/foo.service.d/override.confand unlike placing your own full service definition into/etc/systemd/system/foo.service, you can override only parts of the unit that you need to.