!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
5 Apr 2022
@bobvanderlinden_:matrix.orgbobvanderlinden
In reply to @janne.hess:helsinki-systems.de
bobvanderlinden: have you seen the case where you were able to type your password but it would forever hang on decryption?
Not sure. It hanged waiting for a decrypted device. The device is there, but Udev didn't noticed it
15:31:16
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @bobvanderlinden_:matrix.org
Not sure. It hanged waiting for a decrypted device. The device is there, but Udev didn't noticed it
You need more udev rules ;) I found them in the lvm2 package (yes, the ones for dm-crypt)
15:31:39
@bobvanderlinden_:matrix.orgbobvanderlinden
In reply to @janne.hess:helsinki-systems.de
Update of the day: I now have a disk mounted that is on LVM that is on LUKS
Awesome! 🥳🥳🥳
15:31:40
@bobvanderlinden_:matrix.orgbobvanderlinden
In reply to @janne.hess:helsinki-systems.de
You need more udev rules ;) I found them in the lvm2 package (yes, the ones for dm-crypt)
Yes, I had those in there eventually. But there was still something going wrong
15:32:24
@bobvanderlinden_:matrix.orgbobvanderlindenAre you now using the ueventd variant?15:32:36
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @bobvanderlinden_:matrix.org
Yes, I had those in there eventually. But there was still something going wrong
Probably you were missing /run/current-system/bin/systemd-run which the udev rules need…
15:32:53
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deit's horrible stuff15:32:56
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @bobvanderlinden_:matrix.org
Are you now using the ueventd variant?
The one shipped with lvm2. I don't use generators if that's what you're asking
15:33:13
@bobvanderlinden_:matrix.orgbobvanderlinden
In reply to @janne.hess:helsinki-systems.de
Probably you were missing /run/current-system/bin/systemd-run which the udev rules need…
Haha no I had a service that created a symlink for that
15:33:17
@bobvanderlinden_:matrix.orgbobvanderlindenHmm 🤔 I wonder what I was missing then. Interested in your pr!15:33:50
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @bobvanderlinden_:matrix.org
Hmm 🤔 I wonder what I was missing then. Interested in your pr!
I'll have to clean the udev stuff a bit but I will do that first because I need it
15:34:08
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deIt fully works but it's not as clean as I was hoping15:34:19
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deudev code is now a lot cleaner: https://github.com/NixOS/nixpkgs/pull/16734915:44:16
6 Apr 2022
@gkleen:synapse.ligkleen joined the room.10:42:15
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deima_db790e8.jpeg
Download ima_db790e8.jpeg
11:58:50
@flokli:matrix.orgflokliUuh12:26:36
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.denow I just need to keep it from trying to unmount /nix…13:19:01
@elvishjerricco:matrix.org@elvishjerricco:matrix.org
In reply to @janne.hess:helsinki-systems.de
now I just need to keep it from trying to unmount /nix…
o_O that sounds like a problem
15:06:46
@hexa:lossy.network@hexa:lossy.network
In reply to @janne.hess:helsinki-systems.de
sent an image.
show us more of your legs!
17:08:17
@flokli:matrix.orgflokli
In reply to @janne.hess:helsinki-systems.de
now I just need to keep it from trying to unmount /nix…
Check https://github.com/NixOS/nixpkgs/issues/80038#issuecomment-699660256
17:57:38
@flokli:matrix.orgflokliThe text for 0002*patch17:57:55
@arianvp:matrix.orgArianWe tried x-initrd. No bueno18:28:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.org flokli: I think that would be unrelated anyway. File systems aren't unmounted by systemctl --no-block isolate initrd-switch-root.target because mount units have IgnoreOnIsolate=yes by default. 19:16:58
@elvishjerricco:matrix.org@elvishjerricco:matrix.org If LVM creates a service with RemainAfterExit and an ExecStop that takes down the LVM block device, then the file system would be unmounted when that service gets stopped by the isolate though 19:18:55
@arianvp:matrix.orgArianIt is stage 2 unmounting it btw. Not stage 119:22:12
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh19:32:45
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgduring bootup or shutdown?19:33:24
@flokli:matrix.orgflokliI don't think we go back to systemd in initrd during shutdown yet19:36:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwe do not19:37:01
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI don't even think nixos jumps back to an initramfs for shutdown.19:40:32

Show newer messages


Back to Room ListRoom Version: 6