!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

599 Members
NixOS ❤️ systemd165 Servers

Load older messages


SenderMessageTime
11 Oct 2024
@elvishjerricco:matrix.orgElvishJerriccooh04:23:41
@elvishjerricco:matrix.orgElvishJerriccowas joke04:23:42
@elvishjerricco:matrix.orgElvishJerriccoam in critical mode :P04:23:47
@emilazy:matrix.orgemilywell I mean I did assume that unit config was generally """better"" in some amorphous way04:23:57
@emilazy:matrix.orgemilyi.e. more flexible, more systemd-native, etc.04:24:01
@emilazy:matrix.orgemilybeing able to specify deps and so on04:24:04
@elvishjerricco:matrix.orgElvishJerriccoYou can do a lot of it in fstab, but yea, stuff like that is when you would reach for custom mount units04:24:23
@mjm:midna.devmjmdeps you can get via options in fstab tho can't you?04:24:23
@mjm:midna.devmjmat least to some degree04:24:34
@emilazy:matrix.orgemily
In reply to @mjm:midna.dev
deps you can get via options in fstab tho can't you?
in a way that's different to every other systemd thing
04:24:40
@mjm:midna.devmjmsure04:24:44
@elvishjerricco:matrix.orgElvishJerricco but generally it's better to stick to the thing that all the other tooling in the world (like just plain mount) understands 04:24:44
@emilazy:matrix.orgemily that's what systemd-mount is for 04:24:58
@emilazy:matrix.orgemily anyway ElvishJerricco maybe you should open an issue about the problems with the preservation implementation? 04:25:11
@emilazy:matrix.orgemilyimpermanence is popular and it's nice to have an implementation of it that works systemd-native and doesn't involve interpreters, even if it might need some refinement04:25:30
@elvishjerricco:matrix.orgElvishJerricco like, we could have migrated fileSystems to pre-generated mount units long ago if we had wanted to but it's just good to have fstab 04:25:30
@elvishjerricco:matrix.orgElvishJerricco
In reply to @emilazy:matrix.org
anyway ElvishJerricco maybe you should open an issue about the problems with the preservation implementation?
I'd have to like.... actually review and understand more of it :P
04:25:44
@elvishjerricco:matrix.orgElvishJerricco like presumably there's some purpose to the tmpfiles stuff that I'm not understanding 04:25:58
@mjm:midna.devmjmi assume it's similar to whatever impermanence's bad create dirs needed for boot thing is for04:26:29
@mjm:midna.devmjmbut idk04:26:36
@elvishjerricco:matrix.orgElvishJerriccooh, that might be a problem, yea04:26:45
@elvishjerricco:matrix.orgElvishJerricco I mean personally I don't think the create-dirs thing is needed; creating the original persistent dirs seems like the sort of thing one should be able to tolerate during formatting 04:27:13
@mjm:midna.devmjmwill a bind mount create every parent directory needed for the target?04:27:13
@elvishjerricco:matrix.orgElvishJerriccosystemd always creates parent dirs for the mountpoints of mount units04:27:34
@mjm:midna.devmjmok04:27:38
@elvishjerricco:matrix.orgElvishJerricco (unless a parent is ro) 04:27:39
@mjm:midna.devmjmthen yeah i don't really get why you would need tmpfiles to come first04:27:58
@elvishjerricco:matrix.orgElvishJerriccoI think there's an open issue about creating the parents for bind mount sources as well04:28:07
@mjm:midna.devmjmseems like it could happen after all the mounts are done04:28:07
@elvishjerricco:matrix.orgElvishJerriccobut that's trickier because you don't necessarily intend for the source to be a dir04:28:20

Show newer messages


Back to Room ListRoom Version: 6