!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

82 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5126 Servers

Load older messages


SenderMessageTime
28 Jan 2023
@lily:lily.flowers@lily:lily.flowersI saw there was a systemd v253 rc with your changes with it. Once that's released and in nixpkgs, that would unblock your stage1 fsck PR, right?23:30:18
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYep, same exact thing with a swap file on ext423:30:33
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Lily Foster: Yea, that would unblock the fsck pr 23:30:43
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthough I don't think that would help btrfs23:31:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgsince I think that's one of the file systems we don't fsck23:31:10
@lily:lily.flowers@lily:lily.flowersOh yeah good point23:31:18
@lily:lily.flowers@lily:lily.flowers(also btrfs recommends to not try anything resembling fsck on it)23:31:27
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgright23:31:50
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgso we need...23:32:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThis: https://github.com/NixOS/nixpkgs/commit/d97a2f4d5eecfe74b619179144b575c8b9f7cd1923:32:28
@lily:lily.flowers@lily:lily.flowersHow is this not broken in other OS's using like dracut and such?23:32:49
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgdracut may have its own special sauce to fix it23:33:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI don't know23:33:17
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI try not to look at it unless I have to :P23:33:22
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgor23:33:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthey may just not care because either they have the fsck unit or they have swap on a block device and don't notice the scary23:33:57
@lily:lily.flowers@lily:lily.flowersOh you know what. Dracut actually does create their own synchronization points. So I bet it's working in dracut by chance right now23:34:28
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgExactly23:34:35
@lily:lily.flowers@lily:lily.flowersLet me go check mkinitcpio to see if they're doing anything23:34:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I think it's really really stupid that systemd doesn't add After=local-fs-pre.target in initrd 23:35:07
@elvishjerricco:matrix.org@elvishjerricco:matrix.org that's the sync point that systemd-hibernate-resume@.service relies on 23:35:22
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThe docs literally say that's why it works23:35:37
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Search for hibernate in man bootup 23:36:02
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthe docs are just wrong :P23:36:10
@lily:lily.flowers@lily:lily.flowersmkinitcpio uses their own resume hook too23:37:17
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgis that what dracut does? Just all custom hibernate resume stuff?23:37:44
@lily:lily.flowers@lily:lily.flowersYep. And I just checked initramfs-tools too23:37:59
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgalso, make sure you're looking at the systemd variations on all these things23:37:59
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgboth mkinitcpio and dracut have old scripted mode and systemd mode23:38:08
@elvishjerricco:matrix.org@elvishjerricco:matrix.org(that's one reason I don't look to them for examples; it's really hard to disentangle their scripted implementations from their systemd implementations)23:38:55

Show newer messages


Back to Room ListRoom Version: 6