| 10 Nov 2022 |
Paul Haerle | Not sure hwo many people are connecting to openvpn networks from their initrd; i personally don't. But if that's all that is needed for a merge, I'd be willing to invest a day or so into that project :) | 09:49:03 |
@me:linj.tech | How can I get the log when stage 1 fails? | 17:45:30 |
@me:linj.tech |  Download image.png | 17:46:00 |
Arian | You need to set an emergency shell | 17:46:20 |
Arian | (maybe we should ship one?) | 17:46:41 |
@elvishjerricco:matrix.org | we do | 17:46:48 |
K900 | I think it's just the "root account is locked" that's the issue | 17:46:58 |
K900 | There's a way to override it somewhere | 17:47:02 |
@elvishjerricco:matrix.org | boot.initrd.systemd.emergencyAccess = true|hashed password | 17:47:03 |
K900 | That I never remember | 17:47:05 |
@elvishjerricco:matrix.org | true means it's accessible without a password. | 17:47:29 |
@elvishjerricco:matrix.org | I always set mine to boot.initrd.systemd.emergencyAccess = config.users.users.root.hashedPassword; | 17:48:00 |
@elvishjerricco:matrix.org | which I think would be a decent idea to use as default if the root user hashed password is set... | 17:48:24 |
@me:linj.tech |  Download image.png | 18:11:07 |
@me:linj.tech | this is the error if I remove one disk from a btrfs raid1 on luks | 18:12:04 |
@me:linj.tech | /dev/disk/by-label/luks-2 is the one removed | 18:12:49 |
@me:linj.tech | /dev/disk/by-label/luks-2 is still there | 18:14:19 |
@me:linj.tech | if one of these luks device is opened, /dev/disk/by-uuid/f93cfbf1-e9b4-46ca-b7cb-6f3fb1554fbb should appear, as showed in the bottom of the screenshot | 18:15:27 |
@me:linj.tech | but dev-disk-by-uuid-f93cfbf1-e9b4-46ca-b7cb-6f3fb1554fbb.device fails | 18:16:06 |
@me:linj.tech | any ideas? | 18:16:10 |
@me:linj.tech | * if one of these luks device is opened, /dev/disk/by-uuid/f93cfbf1-e9b4-46ca-b7cb-6f3fb1554fbb should appear, as showed at the bottom of the screenshot | 18:17:04 |
@me:linj.tech | * /dev/disk/by-label/luks-1 is still there | 18:23:46 |
@me:linj.tech | * if one of these luks devices is opened, /dev/disk/by-uuid/f93cfbf1-e9b4-46ca-b7cb-6f3fb1554fbb should appear, as showed at the bottom of the screenshot | 18:24:09 |
@elvishjerricco:matrix.org | wait so your root is on a btrfs mirror and you removed one disk? | 18:27:29 |
@elvishjerricco:matrix.org | Does that work on the old initrd? | 18:27:42 |
@me:linj.tech | In reply to @elvishjerricco:matrix.org Does that work on the old initrd? no, the old initrd just dies if one disk is missing. Because of that, I try this systemd one | 18:28:35 |
@elvishjerricco:matrix.org | Ah, yea I wouldn't really expect that to be supported. I was actually looking into this a bit yesterday and the btrfs udev rules shipped with systemd deliberately don't mark the disks as active until all of them are present | 18:29:25 |
@elvishjerricco:matrix.org | and | 18:29:37 |
@elvishjerricco:matrix.org | even if you're not using udev/systemd, the btrfs tools by default don't let you mount degraded | 18:29:56 |
@me:linj.tech | In reply to @elvishjerricco:matrix.org even if you're not using udev/systemd, the btrfs tools by default don't let you mount degraded degraded can be set I think | 18:30:38 |