!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

614 Members
NixOS ❤️ systemd172 Servers

Load older messages


SenderMessageTime
31 Jan 2025
@uep:matrix.orguep

I noted an issue on my test laptop the other day; didn't have time to look further yet. It has:

  • rpool with native zfs encryption, prompted for passphrase during stage 1
  • tpool, with native zfs encyption, prompted during stage 2 via extraPools
  • plymouth (which is only used here and what i was testing last)

I hadn't used it in a while, and updated to current. The problem was that the second passphrase prompt with plymouth didn't get any keyboard input/focus/whatever. I suspect/assume it's something new with updated systemd, it worked fine before the upgrade. I got as far as confirming it also works normally if removing splash from the kernel boot commandline.

01:11:58
@uep:matrix.orguep *

I noted an issue on my test laptop the other day; didn't have time to look further yet. It has:

  • rpool with native zfs encryption, prompted for passphrase during stage 1
  • tpool, with native zfs encyption, prompted during stage 2 via extraPools
  • plymouth (which is only used here and what i was testing last)

I hadn't used it in a while, and updated to current. The problem was that the second passphrase prompt with plymouth didn't get any keyboard input/focus/whatever. I suspect/assume it's something new with updated systemd, it worked fine before the upgrade. I got as far as confirming it also works normally if removing splash from the kernel boot commandline so there's no graphical plymouth overlay

01:13:10
@uep:matrix.orguepCan potentially look further on the weekend. It will also have jumped from 6.6.x to 6.12.x in the same upgrade01:15:04
@uep:matrix.orguepI'm not sure how easy it will be to separate those things since they all landed in the same staging merge IIUC01:16:05
@uep:matrix.orguep *

I noted an issue on my test laptop the other day; didn't have time to look further yet. It has:

  • rpool with native zfs encryption, prompted for passphrase during stage 1
  • tpool, with native zfs encyrption, prompted during stage 2 via extraPools
  • plymouth (which is only used here and what i was testing last)

I hadn't used it in a while, and updated to current. The problem was that the second passphrase prompt with plymouth didn't get any keyboard input/focus/whatever. I suspect/assume it's something new with updated systemd, it worked fine before the upgrade. I got as far as confirming it also works normally if removing splash from the kernel boot commandline so there's no graphical plymouth overlay

01:17:36
@uep:matrix.orguep *

I noted an issue on my test laptop the other day; didn't have time to look further yet. It has:

  • rpool with native zfs encryption, prompted for passphrase during stage 1
  • tpool, with native zfs encryption, prompted during stage 2 via extraPools
  • plymouth (which is only used here and what i was testing last)

I hadn't used it in a while, and updated to current. The problem was that the second passphrase prompt with plymouth didn't get any keyboard input/focus/whatever. I suspect/assume it's something new with updated systemd, it worked fine before the upgrade. I got as far as confirming it also works normally if removing splash from the kernel boot commandline so there's no graphical plymouth overlay

01:17:47
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب)
In reply to @elvishjerricco:matrix.org
Is enc actually the name of your luks volume?
No, It's crypted, I fixed that issue.
09:04:38
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب) I got permission issues when trying to delete the root subvol, And I fixed them using this command chattr -i /btrfs_tmp/root/var/empty, But the initrd I got this error chattr: command not found, How can I remove the file /btrfs_tmp/root/var/empty in the initrd? 09:37:21
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب)Current setup 👆
Download Current setup 👆
09:37:52
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب) * I got permission issues when trying to delete the root subvol, And I fixed them using this command chattr -i /btrfs_tmp/root/var/empty, But in the initrd I got this error chattr: command not found, How can I remove the file /btrfs_tmp/root/var/empty in the initrd? 09:38:20
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب) I added the option boot.initrd.systemd.packages = [ pkgs.busybox ];, But the problem persisted. 09:56:06
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب) I added the option boot.initrd.systemd.services.rollback.path = [ pkgs.busybox ];, And now I am getting mkdir: command not found? 10:03:30
@elvishjerricco:matrix.orgElvishJerricco Rayane Nakib (ريان نقيب): chattr comes from e2fsprogs. It's also in busybox, but you probably wanna use the e2fsprogs one. Anyway, the way to add a specific binary to the initrd is boot.initrd.systemd.extraBin.chattr = "${pkgs.e2fsprogs}/bin/chattr"; 14:27:50
@elvishjerricco:matrix.orgElvishJerricco Anyway can't you just delete the subvolume, rather than rm'ing it? 14:30:16
@elvishjerricco:matrix.orgElvishJerricco then you wouldn't even need the chattr 14:30:26
@elvishjerricco:matrix.orgElvishJerricco Yea, there's a btrfs subvolume delete command 14:31:22
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب)
In reply to @elvishjerricco:matrix.org
Yea, there's a btrfs subvolume delete command
This command doesn't work
14:32:37
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب) even with --commit-after option 14:33:11
@elvishjerricco:matrix.orgElvishJerriccowhy not?14:33:21
@elvishjerricco:matrix.orgElvishJerricco the command is there for a reason; presumably it's capable of working 14:33:37
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب)I don't know?! I am not on my PC right now, But I will post the error message that I get when I get the chant14:34:22
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب) * 14:34:39
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب) * 14:34:51
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب) * 14:35:10
@qyliss:fairydust.spaceAlyssa Rosswfm14:36:08
@qyliss:fairydust.spaceAlyssa RossI do a very similar thing in initrd, although I'm still on the non-systemd one I think14:36:28
@elvishjerricco:matrix.orgElvishJerriccosidenote, the impermanence readme really ought to include a solid systemd initrd example.14:36:32
@qyliss:fairydust.spaceAlyssa Rosshttps://git.qyliss.net/nixlib/tree/sys/mbp.nix#n1814:37:27
@nakibrayane:matrix.orgRayane Nakib (ريّان نقيب)
In reply to @elvishjerricco:matrix.org
sidenote, the impermanence readme really ought to include a solid systemd initrd example.
And an option to just delete the old root, or keep only one version, I have limited space im my laptop, I can't have 30 days old files there.
14:37:42
@qyliss:fairydust.spaceAlyssa RossBeing able to remove a directory without being able to recurse is to me the main appeal of subvolems14:38:23

Show newer messages


Back to Room ListRoom Version: 6