by mid-kid · 4mo ago · 0 comments
I'm not saying any of this is particularly bad but it's been very clear fot a while that systemd just wants to be an OS. With immutable systems the "distribution" part of it is reduced to a build system, and everything else can be provided by systemd and flatpak.
[0] https://walian.co.uk/arch-install-with-secure-boot-btrfs-tpm...
The first partition with this type UUID on the same disk as the root partition is mounted to /home/.
...you can't spread your /home and / partitions on separate disks and use this? In fact, it looks like you can't use this autodetection unless all of the partitions of interest (including your /boot/) are on the same disk? Seriously? There's also no indication that this works with LVM... which is -if true- is extremely inconvenient. The document at [1] only mentions LVM in passing, and [2] is Poettering saying "Fuck off, I don't want to support doing this with LVM".Did I misread a document or fail to find a relevant one? If not, is this really limited to single-disk, "legacy" [3] configurations?
[0] <https://www.freedesktop.org/software/systemd/man/latest/syst...>
[1] <https://uapi-group.org/specifications/specs/discoverable_par...>
[2] <https://github.com/systemd/systemd/issues/1727>
[3] Yes, I'm considering any fixed-partition mechanism, whether MBR or GPT to be "legacy". The flexibility you get from LVM is sooooo nice.
No, you'll need to add a line to your fstab manually if you want something autodiscovery cannot do, like multi-disk setups, LVM, and FDE with unsupported configurations. It's great if it works for you and a very minor change if it doesn't.
I don't recall ever installing a system with / and /home on separate partitions, though.
It's just shocking that autodiscovery is so extremely limited. I'm aware that if you want to do something that autodiscovery can't do, then you cant use autodiscovery for that thing... I'm pretty sure that was covered in a recent Tautology Club meeting.
> I don't recall ever installing a system with / and /home on separate partitions, though.
I'd wager that that's the configuration of vast majority of the consumer systems out there... which makes it even more confusing how anemic partition autodetection is.
Its target user is one who bothers to partition out space for subdirectories, but doesn't use either multiple disks or LVM? That's a very particular sort of user.
How would it choose from 2 home partitions on other disks?
But. Having said that, why would you have two home partitions on other disks? Having a bigass disk for your home partition [2] is way more common than having multiple entirely-independent Linux installs that you all want to use this automagic mount point detection on. Do you disagree?
[0] > Note that automatic discovery of the root only works if the boot loader communicates this information to the OS, by implementing the (Boot Loader Interface)[1].
[1] <https://systemd.io/BOOT_LOADER_INTERFACE/>
[2] ...because where else would you store all your porn?
But it's meant to work as a cohesive system when everything in systemd is used together.
FWIW, I think it's great that someone is trying to make a coherent set of system services for Linux. Things tend to interoperate better when they're explicitly written to work together than when every component is meant to be hacked to work with arbitrary other services through shell script soup.
Also it's interesting that a set of simple interfaces have worked for so long. Maybe they did something wrong that it didn't break?
That approach is part of why Valve has been able to ship Linux to general consumers.
I don't know exactly why you'd go for amutable specifically, but not handing users the key is a huge benefit to any company-owned hardware out there.
I know they've attached all these projects to the systemd brand because they thought it would beneficial but it's hard not to wonder if we could avoid all those discussions if the umbrella project was called something different...
I would probably run systemd-journald just because it's really nice to have a logging system which knows about the system services, but it's not required.